org.openspaces.persistency.cassandra.meta.types
Class ValidatorClassInferer
java.lang.Object
org.openspaces.persistency.cassandra.meta.types.ValidatorClassInferer
public class ValidatorClassInferer
- extends Object
Helper class to deal with validators that hector doesn't take into consideration
- Since:
- 9.1.1
- Author:
- Dan Kilman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INT32TYPE
public static final ComparatorType INT32TYPE
DATETYPE
public static final ComparatorType DATETYPE
BOOLEANTYPE
public static final ComparatorType BOOLEANTYPE
FLOATTYPE
public static final ComparatorType FLOATTYPE
DOUBLETYPE
public static final ComparatorType DOUBLETYPE
ValidatorClassInferer
public ValidatorClassInferer()
infer
public static String infer(Class<?> type)
- Parameters:
type
- The type to infer from.
- Returns:
- The matching Cassandra validation class.
getBytesTypeValidationClass
public static String getBytesTypeValidationClass()
- Returns:
- The default bytes type Cassandra validation class.
isBytesType
public static boolean isBytesType(Class<?> type)
- Parameters:
type
- The type to test.
- Returns:
true
if this type matches the default bytes type Cassandra validation class.
Copyright © GigaSpaces.