Class TypeUtils

java.lang.Object
com.aerospike.dsl.util.TypeUtils

public class TypeUtils extends Object
  • Constructor Details

    • TypeUtils

      public TypeUtils()
  • Method Details

    • getDefaultType

      public static com.aerospike.client.exp.Exp.Type getDefaultType(AbstractPart part)
      Returns the default Exp.Type for a given AbstractPart. For AbstractPart.PartType.MAP_PART that is not a MapTypeDesignator, the default type is STRING. Otherwise, the default type is INT.
      Parameters:
      part - The AbstractPart for which to determine the default type
      Returns:
      The default Exp.Type for the given part
    • getDefaultTypeForCount

      public static com.aerospike.client.exp.Exp.Type getDefaultTypeForCount()