Class AerospikeQueryCreatorUtils

java.lang.Object
org.springframework.data.aerospike.repository.query.AerospikeQueryCreatorUtils

public class AerospikeQueryCreatorUtils extends Object
  • Constructor Details

    • AerospikeQueryCreatorUtils

      public AerospikeQueryCreatorUtils()
  • Method Details

    • resolveCtxList

      public static com.aerospike.client.cdt.CTX[] resolveCtxList(List<String> ctxList)
    • getDotPathArray

      public static String[] getDotPathArray(List<String> dotPathList)
    • convertToStringListExclStart

      public static List<String> convertToStringListExclStart(@NonNull String[] array)
      Convert a String array into String List excluding the first element
      Parameters:
      array - String array
      Returns:
      String List
    • parseDslExpression

      public static com.aerospike.dsl.ParsedExpression parseDslExpression(String dslExpression, String namespace, Map<IndexKey,Index> indexCache, Object[] parameters, com.aerospike.dsl.api.DSLParser dslParser)
      Parse DSL expression by providing DSL string, existing indexes and placeholder values to DSLParser
      Parameters:
      dslExpression - DSL string to use
      namespace - Namespace to use
      indexCache - Cache of existing secondary indexes
      parameters - Values to replace DSL expression placeholders with
      dslParser - DSLParser instance
      Returns:
      ParsedExpression