org.apache.jackrabbit.core.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 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: =
static int OPERATION_GE_GENERAL
          greater or equal operation: >= general comparison
static int OPERATION_GE_VALUE
          greater or equal operation: >=
static int OPERATION_GT_GENERAL
          greater than operation: > general comparision
static int OPERATION_GT_VALUE
          greater than operation: >
static int OPERATION_IN
          on 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: <=
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: <
static int OPERATION_NE_GENERAL
          not equal operation: <> general comparision
static int OPERATION_NE_VALUE
          not equal operation: <>
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 OPERATIONS
           
static int TYPE_DATE
          date data type
static int TYPE_DOUBLE
          double data type
static int TYPE_LONG
          long data type
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

public static final int TYPE_LONG
long data type

See Also:
Constant Field Values

TYPE_DOUBLE

public static final int TYPE_DOUBLE
double data type

See Also:
Constant Field Values

TYPE_STRING

public static final int TYPE_STRING
string data type

See Also:
Constant Field Values

TYPE_DATE

public static final int TYPE_DATE
date data type

See Also:
Constant Field Values

TYPE_TIMESTAMP

public static final int TYPE_TIMESTAMP
timestamp data type

See Also:
Constant Field Values

TYPE_POSITION

public static final int TYPE_POSITION
position index type

See Also:
Constant Field Values

OPERATIONS

public static final int OPERATIONS
See Also:
Constant Field Values

OPERATION_EQ_VALUE

public static final int OPERATION_EQ_VALUE
equal operation: =

See Also:
Constant Field Values

OPERATION_EQ_GENERAL

public static final int OPERATION_EQ_GENERAL
equal operation: = general comparison

See Also:
Constant Field Values

OPERATION_NE_VALUE

public static final int OPERATION_NE_VALUE
not equal operation: <>

See Also:
Constant Field Values

OPERATION_NE_GENERAL

public static final int OPERATION_NE_GENERAL
not equal operation: <> general comparision

See Also:
Constant Field Values

OPERATION_LT_VALUE

public static final int OPERATION_LT_VALUE
less than operation: <

See Also:
Constant Field Values

OPERATION_LT_GENERAL

public static final int OPERATION_LT_GENERAL
less than operation: < general comparison

See Also:
Constant Field Values

OPERATION_GT_VALUE

public static final int OPERATION_GT_VALUE
greater than operation: >

See Also:
Constant Field Values

OPERATION_GT_GENERAL

public static final int OPERATION_GT_GENERAL
greater than operation: > general comparision

See Also:
Constant Field Values

OPERATION_GE_VALUE

public static final int OPERATION_GE_VALUE
greater or equal operation: >=

See Also:
Constant Field Values

OPERATION_GE_GENERAL

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

See Also:
Constant Field Values

OPERATION_LE_VALUE

public static final int OPERATION_LE_VALUE
less than or equal operation: <=

See Also:
Constant Field Values

OPERATION_LE_GENERAL

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

See Also:
Constant Field Values

OPERATION_LIKE

public static final int OPERATION_LIKE
like operation: identifier LIKE string_literal

See Also:
Constant Field Values

OPERATION_BETWEEN

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

See Also:
Constant Field Values

OPERATION_IN

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

See Also:
Constant Field Values

OPERATION_NULL

public static final int OPERATION_NULL
is null operation: identifier IS NULL

See Also:
Constant Field Values

OPERATION_NOT_NULL

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

See Also:
Constant Field Values


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