public class ValidatorClassInferer extends Object
Modifier and Type | Field and Description |
---|---|
static me.prettyprint.hector.api.ddl.ComparatorType |
BOOLEANTYPE |
static me.prettyprint.hector.api.ddl.ComparatorType |
DATETYPE |
static me.prettyprint.hector.api.ddl.ComparatorType |
DOUBLETYPE |
static me.prettyprint.hector.api.ddl.ComparatorType |
FLOATTYPE |
static me.prettyprint.hector.api.ddl.ComparatorType |
INT32TYPE |
Constructor and Description |
---|
ValidatorClassInferer() |
Modifier and Type | Method and Description |
---|---|
static String |
getBytesTypeValidationClass() |
static String |
infer(Class<?> type) |
static boolean |
isBytesType(Class<?> type) |
public static final me.prettyprint.hector.api.ddl.ComparatorType INT32TYPE
public static final me.prettyprint.hector.api.ddl.ComparatorType DATETYPE
public static final me.prettyprint.hector.api.ddl.ComparatorType BOOLEANTYPE
public static final me.prettyprint.hector.api.ddl.ComparatorType FLOATTYPE
public static final me.prettyprint.hector.api.ddl.ComparatorType DOUBLETYPE
public static String infer(Class<?> type)
type
- The type to infer from.public static String getBytesTypeValidationClass()
public static boolean isBytesType(Class<?> type)
type
- The type to test.true
if this type matches the default bytes type Cassandra validation
class.Copyright © GigaSpaces.