final CassandraTableName table =
CassandraTableName.getLocalityGroupTableName(tableURI, localityGroupId);
if (column.isFullyQualified()) {
final Statement statement =
CQLUtils.getQualifiedColumnGetStatement(
layout,
table,
entityId,
cassandraColumn,
dataRequest,
columnRequest);
return Futures.transform(
admin.executeAsync(statement),
RowDecoders.<T>getQualifiedColumnDecoderFunction(column, decoderProvider));
} else {
if (columnRequest.getMaxVersions() != 0) {
LOG.warn("Cassandra Kiji can not efficiently get a column family with max versions"
+ " (column family: {}, max version: {}). Filtering versions on the client.",
column, columnRequest.getMaxVersions());
}
if (dataRequest.getMaxTimestamp() != Long.MAX_VALUE
|| dataRequest.getMinTimestamp() != Long.MIN_VALUE) {
LOG.warn("Cassandra Kiji can not efficiently restrict a timestamp on a column family: "
+ " (column family: {}, data request: {}). Filtering timestamps on the client.",
column, dataRequest);
}
final Statement statement =
CQLUtils.getColumnFamilyGetStatement(
layout,
table,
entityId,
cassandraColumn,