Package | Description |
---|---|
com.amazon.carbonado |
Main user-level interfaces, classes, and annotations for Carbonado.
|
com.amazon.carbonado.qe |
Support for implementing a Query Engine.
|
Modifier and Type | Method and Description |
---|---|
<T extends S> |
Query.after(T start)
Returns a query which fetches results for this query after a given
starting point, which is useful for re-opening a cursor.
|
Query<S> |
Query.and(Filter<S> filter)
Returns a new query which has another
filter logically "and"ed to this, potentially reducing the amount of
results. |
Query<S> |
Query.and(java.lang.String filter)
Returns a new query which has another
filter logically "and"ed to this, potentially reducing the amount of
results. |
Query<S> |
Query.not()
Returns a new query which produces all the results not supplied in this
query.
|
Query<S> |
Query.or(Filter<S> filter)
Returns a new query which has another
filter logically "or"ed to this, potentially increasing the amount of
results. |
Query<S> |
Query.or(java.lang.String filter)
Returns a new query which has another
filter logically "or"ed to this, potentially increasing the amount of
results. |
Query<S> |
Query.orderBy(java.lang.String... properties)
Returns a copy of this query ordered by specific property values.
|
Query<S> |
Query.orderBy(java.lang.String property)
Returns a copy of this query ordered by a specific property value.
|
Query<S> |
Storage.query()
Query for all Storable instances in this Storage.
|
Query<S> |
Storage.query(Filter<S> filter)
Query for Storable instances against an explicitly constructed filter
object.
|
Query<S> |
Storage.query(java.lang.String filter)
Query for Storable instances against a filter expression.
|
Query<S> |
Query.with(boolean value)
Returns a copy of this Query with the next blank parameter filled in.
|
Query<S> |
Query.with(byte value)
Returns a copy of this Query with the next blank parameter filled in.
|
Query<S> |
Query.with(char value)
Returns a copy of this Query with the next blank parameter filled in.
|
Query<S> |
Query.with(double value)
Returns a copy of this Query with the next blank parameter filled in.
|
Query<S> |
Query.with(float value)
Returns a copy of this Query with the next blank parameter filled in.
|
Query<S> |
Query.with(int value)
Returns a copy of this Query with the next blank parameter filled in.
|
Query<S> |
Query.with(long value)
Returns a copy of this Query with the next blank parameter filled in.
|
Query<S> |
Query.with(java.lang.Object value)
Returns a copy of this Query with the next blank parameter filled in.
|
Query<S> |
Query.with(short value)
Returns a copy of this Query with the next blank parameter filled in.
|
Query<S> |
Query.withValues(java.lang.Object... values)
Returns a copy of this Query with the next blank parameters filled in.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractQuery<S extends Storable>
AbstractQuery implements a small set of common Query methods.
|
class |
EmptyQuery<S extends Storable>
Special query implementation that fetches nothing.
|
class |
StandardQuery<S extends Storable>
Abstract query implementation which uses a
QueryExecutor . |
Modifier and Type | Method and Description |
---|---|
<T extends S> |
StandardQuery.after(T start) |
<T extends S> |
EmptyQuery.after(T start) |
Query<S> |
StandardQuery.and(Filter<S> filter) |
Query<S> |
EmptyQuery.and(Filter<S> filter)
Always throws an IllegalStateException.
|
Query<S> |
AbstractQuery.and(java.lang.String filter) |
Query<?> |
IndexedQueryExecutor.Support.indexEntryQuery(StorableIndex<S> index)
Returns an open query if the given index supports query access.
|
Query<S> |
StandardQuery.not() |
Query<S> |
EmptyQuery.not()
Returns a query that fetches everything, possibly in a specified order.
|
Query<S> |
StandardQuery.or(Filter<S> filter) |
Query<S> |
EmptyQuery.or(Filter<S> filter) |
Query<S> |
AbstractQuery.or(java.lang.String filter) |
Query<S> |
StandardQuery.orderBy(java.lang.String... properties) |
Query<S> |
EmptyQuery.orderBy(java.lang.String... properties) |
Query<S> |
StandardQuery.orderBy(java.lang.String property) |
Query<S> |
EmptyQuery.orderBy(java.lang.String property) |
Query<S> |
StandardQueryFactory.query()
Returns a new or cached query that fetches everything.
|
Query<S> |
StandardQueryFactory.query(Filter<S> filter)
Returns a new or cached query for the given filter.
|
Query<S> |
StandardQueryFactory.query(Filter<S> filter,
FilterValues<S> values,
OrderingList<S> ordering)
Returns a new or cached query for the given query specification.
|
Query<S> |
QueryFactory.query(Filter<S> filter,
FilterValues<S> values,
OrderingList<S> ordering,
QueryHints hints)
Returns a query that handles the given query specification.
|
Query<S> |
StandardQueryFactory.query(Filter<S> filter,
FilterValues<S> values,
OrderingList<S> ordering,
QueryHints hints)
Returns a new or cached query for the given query specification.
|
Query<S> |
StandardQueryFactory.query(Filter<S> filter,
OrderingList<S> ordering)
Returns a new or cached query for the given query specification.
|
Query<S> |
StandardQueryFactory.query(Filter<S> filter,
OrderingList<S> ordering,
QueryHints hints)
Returns a new or cached query for the given query specification.
|
Query<S> |
StandardQueryFactory.query(java.lang.String filter)
Returns a new or cached query for the given filter.
|
Query<S> |
StandardQuery.with(boolean value) |
Query<S> |
EmptyQuery.with(boolean value)
Always throws an IllegalStateException.
|
Query<S> |
StandardQuery.with(byte value) |
Query<S> |
EmptyQuery.with(byte value)
Always throws an IllegalStateException.
|
Query<S> |
StandardQuery.with(char value) |
Query<S> |
EmptyQuery.with(char value)
Always throws an IllegalStateException.
|
Query<S> |
StandardQuery.with(double value) |
Query<S> |
EmptyQuery.with(double value)
Always throws an IllegalStateException.
|
Query<S> |
StandardQuery.with(float value) |
Query<S> |
EmptyQuery.with(float value)
Always throws an IllegalStateException.
|
Query<S> |
StandardQuery.with(int value) |
Query<S> |
EmptyQuery.with(int value)
Always throws an IllegalStateException.
|
Query<S> |
StandardQuery.with(long value) |
Query<S> |
EmptyQuery.with(long value)
Always throws an IllegalStateException.
|
Query<S> |
StandardQuery.with(java.lang.Object value) |
Query<S> |
EmptyQuery.with(java.lang.Object value)
Always throws an IllegalStateException.
|
Query<S> |
StandardQuery.with(short value) |
Query<S> |
EmptyQuery.with(short value)
Always throws an IllegalStateException.
|
Query<S> |
StandardQuery.withValues(java.lang.Object... values) |
Query<S> |
EmptyQuery.withValues(java.lang.Object... values)
Throws an IllegalStateException unless no values passed in.
|
Modifier and Type | Method and Description |
---|---|
Cursor<S> |
IndexedQueryExecutor.Support.fetchFromIndexEntryQuery(StorableIndex<S> index,
Query<?> indexEntryQuery)
Fetch Storables referenced by the given index entry query.
|
Cursor<S> |
IndexedQueryExecutor.Support.fetchFromIndexEntryQuery(StorableIndex<S> index,
Query<?> indexEntryQuery,
Query.Controller controller)
Fetch Storables referenced by the given index entry query.
|
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.