public class DataTypeParser extends Object
DataTypeParser provides access to the
DataTypeClassNameParser package private class functionality.| Modifier and Type | Method and Description |
|---|---|
static Ordering |
getOrderingFrom(String validator)
Gets the specified ordering for the specified validator string.
|
static boolean |
isFrozen(String arg0) |
static boolean |
isReversed(String validator)
Checks if the specified validator string is reversed.
|
static boolean |
isTupleType(String validator)
Checks if the specified validator string is a tuple type.
|
static boolean |
isUserType(String validator)
Checks if the specified validator string is a user type.
|
static CQLDataType |
typeToCQL(StatementManagerImpl mgr,
String type)
Converts the specified type string to a CQL data type.
|
static CQLDataType |
validatorToCQL(StatementManagerImpl mgr,
String validator)
Converts the specified validator string to a CQL data type.
|
public static CQLDataType validatorToCQL(StatementManagerImpl mgr, String validator)
mgr - the non-null statement managervalidator - the validator to be convertedpublic static CQLDataType typeToCQL(StatementManagerImpl mgr, String type)
mgr - the non-null statement managertype - the type to be convertedpublic static boolean isReversed(String validator)
validator - the validator to checktrue if the validator is reversed; false
otherwisepublic static Ordering getOrderingFrom(String validator)
validator - the validator to checkpublic static boolean isUserType(String validator)
validator - the validator to checktrue if the validator is a user type; false
otherwisepublic static boolean isTupleType(String validator)
validator - the validator to checktrue if the validator is a tuple type; false
otherwisepublic static boolean isFrozen(String arg0)
Copyright (C) 2015-2017 The Helenus Driver Project Authors.