public interface

RowSliceQuery

implements Execution<R>
com.netflix.astyanax.query.RowSliceQuery<K, C>
Known Indirect Subclasses

Class Overview

Interface to narrow down the path and column slices within a query after the keys were seleted using the ColumnFamilyQuery.

Summary

Public Methods
abstract RowSliceQuery<K, C> withColumnRange(C startColumn, C endColumn, boolean reversed, int count)
Specify a range of columns to return.
abstract RowSliceQuery<K, C> withColumnRange(ByteBufferRange range)
Specify a range of composite columns.
abstract RowSliceQuery<K, C> withColumnRange(ByteBuffer startColumn, ByteBuffer endColumn, boolean reversed, int count)
Specify a range and provide pre-constructed start and end columns.
abstract RowSliceQuery<K, C> withColumnSlice(Collection<C> columns)
Specify a non-contiguous set of columns to retrieve.
abstract RowSliceQuery<K, C> withColumnSlice(C... columns)
Specify a non-contiguous set of columns to retrieve.
abstract RowSliceQuery<K, C> withColumnSlice(ColumnSlice<C> columns)
Use this when your application caches the column slice.
[Expand]
Inherited Methods
From interface com.netflix.astyanax.Execution

Public Methods

public abstract RowSliceQuery<K, C> withColumnRange (C startColumn, C endColumn, boolean reversed, int count)

Specify a range of columns to return.

Parameters
startColumn First column in the range
endColumn Last column in the range
reversed True if the order should be reversed. Note that for reversed, startColumn should be greater than endColumn.
count Maximum number of columns to return (similar to SQL LIMIT)

public abstract RowSliceQuery<K, C> withColumnRange (ByteBufferRange range)

Specify a range of composite columns. Use this in conjunction with the AnnotatedCompositeSerializer.buildRange().

public abstract RowSliceQuery<K, C> withColumnRange (ByteBuffer startColumn, ByteBuffer endColumn, boolean reversed, int count)

Specify a range and provide pre-constructed start and end columns. Use this with Composite columns

public abstract RowSliceQuery<K, C> withColumnSlice (Collection<C> columns)

Specify a non-contiguous set of columns to retrieve.

public abstract RowSliceQuery<K, C> withColumnSlice (C... columns)

Specify a non-contiguous set of columns to retrieve.

public abstract RowSliceQuery<K, C> withColumnSlice (ColumnSlice<C> columns)

Use this when your application caches the column slice.