Class GetQuerySpec
- java.lang.Object
-
- com.palantir.atlasdb.keyvalue.cassandra.async.queries.GetQuerySpec
-
- All Implemented Interfaces:
CqlQuerySpec<Optional<com.palantir.atlasdb.keyvalue.api.Value>>
public final class GetQuerySpec extends Object implements CqlQuerySpec<Optional<com.palantir.atlasdb.keyvalue.api.Value>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GetQuerySpec.GetQueryParameters
-
Constructor Summary
Constructors Constructor Description GetQuerySpec(CqlQueryContext cqlQueryContext, GetQuerySpec.GetQueryParameters getQueryParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CqlQueryContext
cqlQueryContext()
boolean
equals(Object other)
String
formatQueryString()
int
hashCode()
com.datastax.driver.core.Statement
makeExecutableStatement(com.datastax.driver.core.PreparedStatement preparedStatement)
com.datastax.driver.core.ConsistencyLevel
queryConsistency()
QueryType
queryType()
RowStreamAccumulator<Optional<com.palantir.atlasdb.keyvalue.api.Value>>
rowStreamAccumulator()
-
-
-
Constructor Detail
-
GetQuerySpec
public GetQuerySpec(CqlQueryContext cqlQueryContext, GetQuerySpec.GetQueryParameters getQueryParameters)
-
-
Method Detail
-
cqlQueryContext
public CqlQueryContext cqlQueryContext()
- Specified by:
cqlQueryContext
in interfaceCqlQuerySpec<Optional<com.palantir.atlasdb.keyvalue.api.Value>>
-
formatQueryString
public String formatQueryString()
- Specified by:
formatQueryString
in interfaceCqlQuerySpec<Optional<com.palantir.atlasdb.keyvalue.api.Value>>
-
queryType
public QueryType queryType()
- Specified by:
queryType
in interfaceCqlQuerySpec<Optional<com.palantir.atlasdb.keyvalue.api.Value>>
-
makeExecutableStatement
public com.datastax.driver.core.Statement makeExecutableStatement(com.datastax.driver.core.PreparedStatement preparedStatement)
- Specified by:
makeExecutableStatement
in interfaceCqlQuerySpec<Optional<com.palantir.atlasdb.keyvalue.api.Value>>
-
queryConsistency
public com.datastax.driver.core.ConsistencyLevel queryConsistency()
- Specified by:
queryConsistency
in interfaceCqlQuerySpec<Optional<com.palantir.atlasdb.keyvalue.api.Value>>
-
rowStreamAccumulator
public RowStreamAccumulator<Optional<com.palantir.atlasdb.keyvalue.api.Value>> rowStreamAccumulator()
- Specified by:
rowStreamAccumulator
in interfaceCqlQuerySpec<Optional<com.palantir.atlasdb.keyvalue.api.Value>>
-
-