Sha256: e60a3cb3bd0ae70fc95b1094884337b1f6742962fd76d71d97cca22da0dd0b11

Contents?: true

Size: 1.95 KB

Versions: 16

Compression:

Stored size: 1.95 KB

Contents

.. -*- rst -*-

.. highlightlang:: none

.. groonga-command
.. database: logical_range_filter

``logical_range_filter``
========================

Summary
-------

.. note::

   This command is an experimental feature.

.. versionadded:: 5.0.0

TODO: Write summary

Syntax
------

The required parameters are ``logical_table`` and ``shard_key``::

  logical_range_filter
                logical_table
                shard_key
                [min]
                [min_border]
                [max]
                [max_border]
                [order]
                [filter]
                [offset]
                [output_columns]

Usage
-----

Register ``sharding`` plugin to use ``logical_range_filter`` command in advance.

.. groonga-command
.. register sharding

Parameters
----------

This section describes parameters of ``logical_range_filter``.

Required parameter
^^^^^^^^^^^^^^^^^^

There are required parameters, ``logical_table`` and ``shard_key``.

``logical_table``
"""""""""""""""""

Specifies logical table name. It means table name without "_YYYYMMDD" postfix.
If you use actual table such as "Logs_20150203", "Logs_20150203" and so on, logical table name is "Logs".

``shard_key``
"""""""""""""

Specifies column name which is treated as shared key in each parted table.

Optional parameters
^^^^^^^^^^^^^^^^^^^

There are optional parameters.

``min``
"""""""

Specifies the min value of ``shard_key``

``min_border``
""""""""""""""

Specifies whether the min value of borderline must be include or not.
Specify ``include`` or ``exclude`` as the value of this parameter.

``max``
"""""""

Specifies the max value of ``shard_key``.

``max_border``
""""""""""""""

Specifies whether the max value of borderline must be include or not.
Specify ``include`` or ``exclude`` as the value of this parameter.

``order``
""""""""""

``filter``
""""""""""

``offset``
""""""""""

``output_columns``
""""""""""""""""""

Return value
------------

::

  [HEADER, LOGICAL_FILTERED]

Version data entries

16 entries across 8 versions & 1 rubygems

Version Path
rroonga-5.0.4-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.4-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.4-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.4-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.3-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.3-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.3-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.3-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.2-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.2-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.2-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.2-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.1-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.1-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.1-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt
rroonga-5.0.1-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt