protected static enum LegacyDeserializationObjectInputStream.LegacyOperatorType extends Enum<LegacyDeserializationObjectInputStream.LegacyOperatorType> implements OperatorType
OperatorType interface which still
adheres to the constant/enum values of the old OperatorType definition.
While deserializing old OperatorType objects, we will convert them to
this enum.| Enum Constant and Description |
|---|
DIFFERENT_FROM |
EQUALS_TO |
GREATER_THAN |
GREATER_THAN_OR_EQUAL |
IN |
LESS_THAN |
LESS_THAN_OR_EQUAL |
LIKE |
BUILT_IN_OPERATORS, DIFFERENT_FROM, EQUALS_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, IN, LESS_THAN, LESS_THAN_OR_EQUAL, LIKE, NOT_IN, NOT_LIKE| Modifier and Type | Method and Description |
|---|---|
boolean |
isSpaceDelimited()
Determines if this operator requires a space delimitor.
|
String |
toSql() |
static LegacyDeserializationObjectInputStream.LegacyOperatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LegacyDeserializationObjectInputStream.LegacyOperatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LegacyDeserializationObjectInputStream.LegacyOperatorType EQUALS_TO
public static final LegacyDeserializationObjectInputStream.LegacyOperatorType DIFFERENT_FROM
public static final LegacyDeserializationObjectInputStream.LegacyOperatorType LIKE
public static final LegacyDeserializationObjectInputStream.LegacyOperatorType GREATER_THAN
public static final LegacyDeserializationObjectInputStream.LegacyOperatorType GREATER_THAN_OR_EQUAL
public static final LegacyDeserializationObjectInputStream.LegacyOperatorType LESS_THAN
public static final LegacyDeserializationObjectInputStream.LegacyOperatorType LESS_THAN_OR_EQUAL
public static final LegacyDeserializationObjectInputStream.LegacyOperatorType IN
public static LegacyDeserializationObjectInputStream.LegacyOperatorType[] values()
for (LegacyDeserializationObjectInputStream.LegacyOperatorType c : LegacyDeserializationObjectInputStream.LegacyOperatorType.values()) System.out.println(c);
public static LegacyDeserializationObjectInputStream.LegacyOperatorType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isSpaceDelimited()
OperatorTypeisSpaceDelimited in interface OperatorTypepublic String toSql()
toSql in interface OperatorTypeCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.