Class GetChunkSize
- java.lang.Object
-
- org.trellisldp.ext.cassandra.query.CassandraQuery
-
- org.trellisldp.ext.cassandra.query.binary.BinaryQuery
-
- org.trellisldp.ext.cassandra.query.binary.GetChunkSize
-
@ApplicationScoped public class GetChunkSize extends BinaryQuery
A query to retrieve the chunk size metadata for a binary.
-
-
Field Summary
-
Fields inherited from class org.trellisldp.ext.cassandra.query.CassandraQuery
consistency, preparedStmtAsync, queryString, readBinaryWorkers, session, writeWorkers
-
-
Constructor Summary
Constructors Constructor Description GetChunkSize()For use with RESTeasy and CDI proxies.GetChunkSize(CqlSession session, ConsistencyLevel consistency)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<Row>execute(IRI id)-
Methods inherited from class org.trellisldp.ext.cassandra.query.CassandraQuery
executeSyncRead, preparedStatementAsync
-
-
-
-
Constructor Detail
-
GetChunkSize
public GetChunkSize()
For use with RESTeasy and CDI proxies.- API Note:
- This construtor is used by CDI runtimes that require a public, no-argument constructor. It should not be invoked directly in user code.
-
GetChunkSize
@Inject public GetChunkSize(CqlSession session, @BinaryReadConsistency ConsistencyLevel consistency)
- Parameters:
session- the cassandra sessionconsistency- the consistency level
-
-
Method Detail
-
execute
public CompletionStage<Row> execute(IRI id)
-
-