Class VersionedLayerQueryProcessor
java.lang.Object
com.here.platform.data.client.utils.rsql.VersionedLayerQueryProcessor
- All Implemented Interfaces:
QueryProcessor
Wrapper around
QueryApi
that processes RSQL queries and returns the corresponding list of partitions.-
Constructor Summary
ConstructorsConstructorDescriptionVersionedLayerQueryProcessor(com.here.platform.data.client.scaladsl.QueryApi queryApi, Layer layer, long latestVersion) -
Method Summary
Modifier and TypeMethodDescriptionstatic VersionedLayerQueryProcessorvoidcheckVersion(long version) scala.collection.IterableOnce<com.here.platform.data.client.scaladsl.Partition>getParallelizableResult(String query, int parallelization) static booleanhasPartitionIdInQuery(String query) static booleanhasVersionInQuery(String query) toParsedQuery(String query)
-
Constructor Details
-
VersionedLayerQueryProcessor
public VersionedLayerQueryProcessor(com.here.platform.data.client.scaladsl.QueryApi queryApi, Layer layer, long latestVersion)
-
-
Method Details
-
apply
public static VersionedLayerQueryProcessor apply(com.here.platform.data.client.scaladsl.QueryApi queryApi, Layer layer, long version) -
hasVersionInQuery
-
hasPartitionIdInQuery
-
find
public scala.collection.IterableOnce<com.here.platform.data.client.scaladsl.Partition> find(String query) - Specified by:
findin interfaceQueryProcessor
-
toParsedQuery
-
getParallelizableResult
-
checkVersion
public void checkVersion(long version)
-