Package | Description |
---|---|
com.amazon.carbonado |
Main user-level interfaces, classes, and annotations for Carbonado.
|
com.amazon.carbonado.cursor |
Support for advanced processing of cursor results, including basic set
theory operations.
|
com.amazon.carbonado.filter |
Contains classes for representing query filters.
|
com.amazon.carbonado.qe |
Support for implementing a Query Engine.
|
Modifier and Type | Method and Description |
---|---|
FilterValues<S> |
Query.getFilterValues()
Returns the query's filter values, which is null if filter has no
parameters.
|
Modifier and Type | Method and Description |
---|---|
static <S extends Storable> |
FilteredCursor.applyFilter(Filter<S> filter,
FilterValues<S> filterValues,
Cursor<S> cursor)
Returns a Cursor that is filtered by the given Filter and FilterValues.
|
Modifier and Type | Method and Description |
---|---|
FilterValues<S> |
ClosedFilter.initialFilterValues() |
FilterValues<S> |
Filter.initialFilterValues()
Returns a FilterValues instance for assigning values to a
Filter.
|
FilterValues<S> |
ExistsFilter.initialFilterValues() |
FilterValues<S> |
OpenFilter.initialFilterValues() |
FilterValues<S> |
FilterValues.with(boolean value)
Returns a new FilterValues instance with the next blank parameter filled in.
|
FilterValues<S> |
FilterValues.with(byte value)
Returns a new FilterValues instance with the next blank parameter filled in.
|
FilterValues<S> |
FilterValues.with(char value)
Returns a new FilterValues instance with the next blank parameter filled in.
|
FilterValues<S> |
FilterValues.with(double value)
Returns a new FilterValues instance with the next blank parameter filled in.
|
FilterValues<S> |
FilterValues.with(float value)
Returns a new FilterValues instance with the next blank parameter filled in.
|
FilterValues<S> |
FilterValues.with(int value)
Returns a new FilterValues instance with the next blank parameter filled in.
|
FilterValues<S> |
FilterValues.with(long value)
Returns a new FilterValues instance with the next blank parameter filled in.
|
FilterValues<S> |
FilterValues.with(java.lang.Object value)
Returns a new FilterValues instance with the next blank parameter filled in.
|
FilterValues<S> |
FilterValues.with(short value)
Returns a new FilterValues instance with the next blank parameter filled in.
|
FilterValues<S> |
FilterValues.withValues(java.lang.Object... values)
Returns a new FilterValues instance with the next blank parameters filled in.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertyFilter.appendTo(java.lang.Appendable app,
FilterValues<S> values) |
void |
OrFilter.appendTo(java.lang.Appendable app,
FilterValues<S> values) |
void |
ClosedFilter.appendTo(java.lang.Appendable app,
FilterValues<S> values) |
void |
AndFilter.appendTo(java.lang.Appendable app,
FilterValues<S> values) |
abstract void |
Filter.appendTo(java.lang.Appendable app,
FilterValues<S> values)
Appends the string value of this filter into the given Appendable.
|
void |
ExistsFilter.appendTo(java.lang.Appendable app,
FilterValues<S> values) |
void |
OpenFilter.appendTo(java.lang.Appendable app,
FilterValues<S> values) |
Modifier and Type | Method and Description |
---|---|
FilterValues<S> |
StandardQuery.getFilterValues() |
FilterValues<S> |
EmptyQuery.getFilterValues()
Always returns null.
|
Modifier and Type | Method and Description |
---|---|
long |
QueryExecutor.count(FilterValues<S> values)
Counts the query results using the given filter values.
|
long |
SortedQueryExecutor.count(FilterValues<S> values) |
long |
FullScanQueryExecutor.count(FilterValues<S> values) |
long |
AbstractQueryExecutor.count(FilterValues<S> values)
Counts results by opening a cursor and skipping entries.
|
long |
DelegatedQueryExecutor.count(FilterValues<S> values) |
long |
QueryExecutor.count(FilterValues<S> values,
Query.Controller controller)
Counts the query results using the given filter values.
|
long |
SortedQueryExecutor.count(FilterValues<S> values,
Query.Controller controller) |
long |
FullScanQueryExecutor.count(FilterValues<S> values,
Query.Controller controller) |
long |
AbstractQueryExecutor.count(FilterValues<S> values,
Query.Controller controller)
Counts results by opening a cursor and skipping entries.
|
long |
DelegatedQueryExecutor.count(FilterValues<S> values,
Query.Controller controller) |
protected abstract StandardQuery<S> |
StandardQueryFactory.createQuery(Filter<S> filter,
FilterValues<S> values,
OrderingList<S> ordering,
QueryHints hints)
Implement this method to return query implementations.
|
protected StandardQuery<S> |
QueryEngine.createQuery(Filter<S> filter,
FilterValues<S> values,
OrderingList<S> ordering,
QueryHints hints) |
Cursor<S> |
QueryExecutor.fetch(FilterValues<S> values)
Returns a new cursor using the given filter values.
|
Cursor<S> |
SortedQueryExecutor.fetch(FilterValues<S> values) |
Cursor<S> |
IterableQueryExecutor.fetch(FilterValues<S> values) |
Cursor<S> |
FullScanQueryExecutor.fetch(FilterValues<S> values) |
Cursor<S> |
DelegatedQueryExecutor.fetch(FilterValues<S> values) |
Cursor<S> |
KeyQueryExecutor.fetch(FilterValues<S> values) |
Cursor<S> |
IndexedQueryExecutor.fetch(FilterValues<S> values) |
Cursor<S> |
FilteredQueryExecutor.fetch(FilterValues<S> values) |
Cursor<S> |
UnionQueryExecutor.fetch(FilterValues<S> values) |
Cursor<S> |
QueryExecutor.fetch(FilterValues<S> values,
Query.Controller controller)
Returns a new cursor using the given filter values.
|
Cursor<S> |
SortedQueryExecutor.fetch(FilterValues<S> values,
Query.Controller controller) |
Cursor<S> |
IterableQueryExecutor.fetch(FilterValues<S> values,
Query.Controller controller) |
Cursor<S> |
FullScanQueryExecutor.fetch(FilterValues<S> values,
Query.Controller controller) |
Cursor<S> |
DelegatedQueryExecutor.fetch(FilterValues<S> values,
Query.Controller controller) |
Cursor<S> |
KeyQueryExecutor.fetch(FilterValues<S> values,
Query.Controller controller) |
Cursor<S> |
IndexedQueryExecutor.fetch(FilterValues<S> values,
Query.Controller controller) |
Cursor<S> |
FilteredQueryExecutor.fetch(FilterValues<S> values,
Query.Controller controller) |
Cursor<S> |
UnionQueryExecutor.fetch(FilterValues<S> values,
Query.Controller controller) |
Cursor<T> |
JoinedQueryExecutor.fetch(FilterValues<T> values) |
Cursor<T> |
JoinedQueryExecutor.fetch(FilterValues<T> values,
Query.Controller controller) |
Cursor<S> |
QueryExecutor.fetchSlice(FilterValues<S> values,
long from,
java.lang.Long to)
Returns a new cursor using the given filter values and slice.
|
Cursor<S> |
AbstractQueryExecutor.fetchSlice(FilterValues<S> values,
long from,
java.lang.Long to)
Produces a slice via skip and limit cursors.
|
Cursor<S> |
DelegatedQueryExecutor.fetchSlice(FilterValues<S> values,
long from,
java.lang.Long to) |
Cursor<S> |
QueryExecutor.fetchSlice(FilterValues<S> values,
long from,
java.lang.Long to,
Query.Controller controller)
Returns a new cursor using the given filter values and slice.
|
Cursor<S> |
AbstractQueryExecutor.fetchSlice(FilterValues<S> values,
long from,
java.lang.Long to,
Query.Controller controller)
Produces a slice via skip and limit cursors.
|
Cursor<S> |
DelegatedQueryExecutor.fetchSlice(FilterValues<S> values,
long from,
java.lang.Long to,
Query.Controller controller) |
protected abstract StandardQuery<S> |
StandardQuery.newInstance(FilterValues<S> values,
OrderingList<S> ordering,
QueryHints hints)
Return a new or cached instance of StandardQuery implementation, using
new filter values.
|
boolean |
QueryExecutor.printNative(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values)
Prints the native query to any appendable, if applicable.
|
boolean |
SortedQueryExecutor.printNative(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values)
Prints native query of the wrapped executor.
|
boolean |
AbstractQueryExecutor.printNative(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values)
Does nothing and returns false.
|
boolean |
DelegatedQueryExecutor.printNative(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values) |
boolean |
FilteredQueryExecutor.printNative(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values)
Prints native query of the wrapped executor.
|
boolean |
UnionQueryExecutor.printNative(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values)
Prints native queries of the wrapped executors.
|
boolean |
QueryExecutor.printPlan(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values)
Prints the query plan to any appendable, if applicable.
|
boolean |
SortedQueryExecutor.printPlan(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values) |
boolean |
IterableQueryExecutor.printPlan(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values) |
boolean |
FullScanQueryExecutor.printPlan(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values) |
boolean |
DelegatedQueryExecutor.printPlan(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values) |
boolean |
KeyQueryExecutor.printPlan(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values) |
boolean |
IndexedQueryExecutor.printPlan(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values) |
boolean |
FilteredQueryExecutor.printPlan(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values) |
boolean |
UnionQueryExecutor.printPlan(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values) |
boolean |
JoinedQueryExecutor.printPlan(java.lang.Appendable app,
int indentLevel,
FilterValues<T> values) |
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.
|
Constructor and Description |
---|
StandardQuery(Filter<S> filter,
FilterValues<S> values,
OrderingList<S> ordering,
QueryHints hints) |
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.