Class AQLAnalyzerProperties
java.lang.Object
com.arangodb.entity.arangosearch.analyzer.AQLAnalyzerProperties
- Author:
- Michele Rastelli
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetBatchSize(Integer batchSize) voidsetCollapsePositions(Boolean collapsePositions) voidsetKeepNull(Boolean keepNull) voidsetMemoryLimit(Long memoryLimit) voidsetQueryString(String queryString) voidsetReturnType(AQLAnalyzerProperties.ReturnType returnType)
-
Constructor Details
-
AQLAnalyzerProperties
public AQLAnalyzerProperties()
-
-
Method Details
-
getQueryString
- Returns:
- AQL query to be executed
-
setQueryString
-
getCollapsePositions
- Returns:
- true: set the position to 0 for all members of the query result array
- false (default): set the position corresponding to the index of the result array member
-
setCollapsePositions
-
getKeepNull
- Returns:
- true (default): treat null like an empty string
- false: discard nulls from View index. Can be used for index filtering (i.e. make your query return null for unwanted data). Note that empty results are always discarded.
-
setKeepNull
-
getBatchSize
- Returns:
- number between 1 and 1000 (default = 1) that determines the batch size for reading data from the query. In general, a single token is expected to be returned. However, if the query is expected to return many results, then increasing batchSize trades memory for performance.
-
setBatchSize
-
getMemoryLimit
- Returns:
- memory limit for query execution in bytes. (default is 1048576 = 1Mb) Maximum is 33554432U (32Mb)
-
setMemoryLimit
-
getReturnType
- Returns:
- data type of the returned tokens. If the indicated type does not match the actual type then an implicit type conversion is applied.
-
setReturnType
-
equals
-
hashCode
public int hashCode()
-