org.apache.jackrabbit.spi.commons.query
Interface QueryConstants

All Known Implementing Classes:
RelationQueryNode

public interface QueryConstants

This interface defines constants for data types and operation types used in queries.


Field Summary
static String OP_NAME_BETWEEN
          Name of between operation
static String OP_NAME_EQ_GENERAL
          Name of equal operation (general comparison)
static String OP_NAME_EQ_VALUE
          Name of equal operation
static String OP_NAME_GE_GENERAL
          Name of greater or equal operation (general comparison)
static String OP_NAME_GE_VALUE
          Name of greater or equal operation
static String OP_NAME_GT_GENERAL
          Name of greater than operation (general comparison)
static String OP_NAME_GT_VALUE
          Name o^f greater than operation
static String OP_NAME_IN
          Name of in operation
static String OP_NAME_LE_GENERAL
          Name of less than or equal operation (general comparison)
static String OP_NAME_LE_VALUE
          Name of less than or equal operation
static String OP_NAME_LIKE
          Name of like operation
static String OP_NAME_LT_GENERAL
          Name of less than operation (general comparison)
static String OP_NAME_LT_VALUE
          Name of less than operation
static String OP_NAME_NE_GENERAL
          Name of not equal operation (general comparison)
static String OP_NAME_NE_VALUE
          Name of not equal operation
static String OP_NAME_NOT_NULL
          Name of is not null operation
static String OP_NAME_NULL
          Name of is null operation
static String OP_NAME_SIMILAR
          Name of similar operation
static String OP_NAME_SPELLCHECK
          Name of spellcheck operation
static String OP_NAME_UNKNOW
          Name of unknown operations
static int OPERATION_BETWEEN
          between operation: identifier [ NOT ] BETWEEN literal AND literal
static int OPERATION_EQ_GENERAL
          equal operation: = general comparison
static int OPERATION_EQ_VALUE
          equal operation: eq
static int OPERATION_GE_GENERAL
          greater or equal operation: >= general comparison
static int OPERATION_GE_VALUE
          greater or equal operation: ge
static int OPERATION_GT_GENERAL
          greater than operation: > general comparision
static int OPERATION_GT_VALUE
          greater than operation: gt
static int OPERATION_IN
          in operation: identifier [ NOT ] IN ( literal {, literal}* )
static int OPERATION_LE_GENERAL
          less than or equal operation: <= general comparison
static int OPERATION_LE_VALUE
          less than or equal operation: le
static int OPERATION_LIKE
          like operation: identifier LIKE string_literal
static int OPERATION_LT_GENERAL
          less than operation: < general comparison
static int OPERATION_LT_VALUE
          less than operation: lt
static ConstantNameProvider OPERATION_NAMES
          Operation names
static int OPERATION_NE_GENERAL
          not equal operation: <> general comparison
static int OPERATION_NE_VALUE
          not equal operation: ne
static int OPERATION_NOT_NULL
          is not null operation: identifier IS NOT NULL
static int OPERATION_NULL
          is null operation: identifier IS NULL
static int OPERATION_SIMILAR
          similar operation: XPath: rep:similar(path_string) SQL: SIMILAR(path_string)
static int OPERATION_SPELLCHECK
          spellcheck operation: XPath: rep:spellcheck(string_literal) SQL: SPELLCHECK(string_literal)
static int OPERATIONS
           
static int TYPE_DATE
          date data type
static int TYPE_DOUBLE
          double data type
static int TYPE_LONG
          long data type
static String TYPE_NAME_DATE
          Name of date data type
static String TYPE_NAME_DOUBLE
          Name of double data type
static String TYPE_NAME_LONG
          Name of long data type
static String TYPE_NAME_POSITION
          Name of position index
static String TYPE_NAME_STRING
          Name of string data type
static String TYPE_NAME_TIMESTAMP
          Name of timestamp data type
static String TYPE_NAME_UNKNOWN
          Name for unknown data types
static ConstantNameProvider TYPE_NAMES
          Type names
static int TYPE_POSITION
          position index type
static int TYPE_STRING
          string data type
static int TYPE_TIMESTAMP
          timestamp data type
 

Field Detail

TYPE_LONG

static final int TYPE_LONG
long data type

See Also:
Constant Field Values

TYPE_NAME_LONG

static final String TYPE_NAME_LONG
Name of long data type

See Also:
Constant Field Values

TYPE_DOUBLE

static final int TYPE_DOUBLE
double data type

See Also:
Constant Field Values

TYPE_NAME_DOUBLE

static final String TYPE_NAME_DOUBLE
Name of double data type

See Also:
Constant Field Values

TYPE_STRING

static final int TYPE_STRING
string data type

See Also:
Constant Field Values

TYPE_NAME_STRING

static final String TYPE_NAME_STRING
Name of string data type

See Also:
Constant Field Values

TYPE_DATE

static final int TYPE_DATE
date data type

See Also:
Constant Field Values

TYPE_NAME_DATE

static final String TYPE_NAME_DATE
Name of date data type

See Also:
Constant Field Values

TYPE_TIMESTAMP

static final int TYPE_TIMESTAMP
timestamp data type

See Also:
Constant Field Values

TYPE_NAME_TIMESTAMP

static final String TYPE_NAME_TIMESTAMP
Name of timestamp data type

See Also:
Constant Field Values

TYPE_POSITION

static final int TYPE_POSITION
position index type

See Also:
Constant Field Values

TYPE_NAME_POSITION

static final String TYPE_NAME_POSITION
Name of position index

See Also:
Constant Field Values

TYPE_NAME_UNKNOWN

static final String TYPE_NAME_UNKNOWN
Name for unknown data types

See Also:
Constant Field Values

OPERATIONS

static final int OPERATIONS
See Also:
Constant Field Values

OPERATION_EQ_VALUE

static final int OPERATION_EQ_VALUE
equal operation: eq

See Also:
Constant Field Values

OP_NAME_EQ_VALUE

static final String OP_NAME_EQ_VALUE
Name of equal operation

See Also:
Constant Field Values

OPERATION_EQ_GENERAL

static final int OPERATION_EQ_GENERAL
equal operation: = general comparison

See Also:
Constant Field Values

OP_NAME_EQ_GENERAL

static final String OP_NAME_EQ_GENERAL
Name of equal operation (general comparison)

See Also:
Constant Field Values

OPERATION_NE_VALUE

static final int OPERATION_NE_VALUE
not equal operation: ne

See Also:
Constant Field Values

OP_NAME_NE_VALUE

static final String OP_NAME_NE_VALUE
Name of not equal operation

See Also:
Constant Field Values

OPERATION_NE_GENERAL

static final int OPERATION_NE_GENERAL
not equal operation: <> general comparison

See Also:
Constant Field Values

OP_NAME_NE_GENERAL

static final String OP_NAME_NE_GENERAL
Name of not equal operation (general comparison)

See Also:
Constant Field Values

OPERATION_LT_VALUE

static final int OPERATION_LT_VALUE
less than operation: lt

See Also:
Constant Field Values

OP_NAME_LT_VALUE

static final String OP_NAME_LT_VALUE
Name of less than operation

See Also:
Constant Field Values

OPERATION_LT_GENERAL

static final int OPERATION_LT_GENERAL
less than operation: < general comparison

See Also:
Constant Field Values

OP_NAME_LT_GENERAL

static final String OP_NAME_LT_GENERAL
Name of less than operation (general comparison)

See Also:
Constant Field Values

OPERATION_GT_VALUE

static final int OPERATION_GT_VALUE
greater than operation: gt

See Also:
Constant Field Values

OP_NAME_GT_VALUE

static final String OP_NAME_GT_VALUE
Name o^f greater than operation

See Also:
Constant Field Values

OPERATION_GT_GENERAL

static final int OPERATION_GT_GENERAL
greater than operation: > general comparision

See Also:
Constant Field Values

OP_NAME_GT_GENERAL

static final String OP_NAME_GT_GENERAL
Name of greater than operation (general comparison)

See Also:
Constant Field Values

OPERATION_GE_VALUE

static final int OPERATION_GE_VALUE
greater or equal operation: ge

See Also:
Constant Field Values

OP_NAME_GE_VALUE

static final String OP_NAME_GE_VALUE
Name of greater or equal operation

See Also:
Constant Field Values

OPERATION_GE_GENERAL

static final int OPERATION_GE_GENERAL
greater or equal operation: >= general comparison

See Also:
Constant Field Values

OP_NAME_GE_GENERAL

static final String OP_NAME_GE_GENERAL
Name of greater or equal operation (general comparison)

See Also:
Constant Field Values

OPERATION_LE_VALUE

static final int OPERATION_LE_VALUE
less than or equal operation: le

See Also:
Constant Field Values

OP_NAME_LE_VALUE

static final String OP_NAME_LE_VALUE
Name of less than or equal operation

See Also:
Constant Field Values

OPERATION_LE_GENERAL

static final int OPERATION_LE_GENERAL
less than or equal operation: <= general comparison

See Also:
Constant Field Values

OP_NAME_LE_GENERAL

static final String OP_NAME_LE_GENERAL
Name of less than or equal operation (general comparison)

See Also:
Constant Field Values

OPERATION_LIKE

static final int OPERATION_LIKE
like operation: identifier LIKE string_literal

See Also:
Constant Field Values

OP_NAME_LIKE

static final String OP_NAME_LIKE
Name of like operation

See Also:
Constant Field Values

OPERATION_BETWEEN

static final int OPERATION_BETWEEN
between operation: identifier [ NOT ] BETWEEN literal AND literal

See Also:
Constant Field Values

OP_NAME_BETWEEN

static final String OP_NAME_BETWEEN
Name of between operation

See Also:
Constant Field Values

OPERATION_IN

static final int OPERATION_IN
in operation: identifier [ NOT ] IN ( literal {, literal}* )

See Also:
Constant Field Values

OP_NAME_IN

static final String OP_NAME_IN
Name of in operation

See Also:
Constant Field Values

OPERATION_NULL

static final int OPERATION_NULL
is null operation: identifier IS NULL

See Also:
Constant Field Values

OP_NAME_NULL

static final String OP_NAME_NULL
Name of is null operation

See Also:
Constant Field Values

OPERATION_NOT_NULL

static final int OPERATION_NOT_NULL
is not null operation: identifier IS NOT NULL

See Also:
Constant Field Values

OP_NAME_NOT_NULL

static final String OP_NAME_NOT_NULL
Name of is not null operation

See Also:
Constant Field Values

OPERATION_SIMILAR

static final int OPERATION_SIMILAR
similar operation: XPath: rep:similar(path_string) SQL: SIMILAR(path_string)

See Also:
Constant Field Values

OP_NAME_SIMILAR

static final String OP_NAME_SIMILAR
Name of similar operation

See Also:
Constant Field Values

OPERATION_SPELLCHECK

static final int OPERATION_SPELLCHECK
spellcheck operation: XPath: rep:spellcheck(string_literal) SQL: SPELLCHECK(string_literal)

See Also:
Constant Field Values

OP_NAME_SPELLCHECK

static final String OP_NAME_SPELLCHECK
Name of spellcheck operation

See Also:
Constant Field Values

OP_NAME_UNKNOW

static final String OP_NAME_UNKNOW
Name of unknown operations

See Also:
Constant Field Values

OPERATION_NAMES

static final ConstantNameProvider OPERATION_NAMES
Operation names


TYPE_NAMES

static final ConstantNameProvider TYPE_NAMES
Type names



Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.