Package com.aerospike.dsl.util
Class TypeUtils
java.lang.Object
com.aerospike.dsl.util.TypeUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.aerospike.client.exp.Exp.TypegetDefaultType(AbstractPart part) Returns the defaultExp.Typefor a givenAbstractPart.static com.aerospike.client.exp.Exp.Type
-
Constructor Details
-
TypeUtils
public TypeUtils()
-
-
Method Details
-
getDefaultType
Returns the defaultExp.Typefor a givenAbstractPart. ForAbstractPart.PartType.MAP_PARTthat is not aMapTypeDesignator, the default type isSTRING. Otherwise, the default type isINT.- Parameters:
part- TheAbstractPartfor which to determine the default type- Returns:
- The default
Exp.Typefor the given part
-
getDefaultTypeForCount
public static com.aerospike.client.exp.Exp.Type getDefaultTypeForCount()
-