public class DataTypeParser extends Object
DataTypeParser provides access to the
CassandraTypeParser 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(String type)
Converts the specified type string to a CQL data type.
|
static CQLDataType |
validatorToCQL(String validator)
Converts the specified validator string to a CQL data type.
|
public static CQLDataType validatorToCQL(String validator)
validator - the validator to be convertedpublic static CQLDataType typeToCQL(String type)
type - 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-2015 The Helenus Driver Project Authors.