A B C D E F G H I L M N O P Q R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acquireResourceHandle() - Method in interface se.l4.silo.Silo
-
Acquire a new resource lock for the current thread.
- addCritera(String, IndexQueryRequest.Op, Object) - Method in class se.l4.silo.index.IndexQueryRequest
- addSort(String, boolean) - Method in class se.l4.silo.index.IndexQueryRequest
- asObject(Class<T>, Function<T, Object>) - Method in interface se.l4.silo.structured.StructuredEntity
-
Get an entity that translates the structured data into objects.
- asObject(Serializer<T>, Function<T, Object>) - Method in interface se.l4.silo.structured.StructuredEntity
-
Get an entity that translates the structured data into objects.
B
- binary(String) - Method in interface se.l4.silo.Silo
-
Get access to the binary entity with the given name.
- BinaryEntity - Interface in se.l4.silo.binary
-
Simple binary key-value entity.
- BinaryEntry - Interface in se.l4.silo.binary
-
Item as returned via
FetchResult.
C
- close() - Method in interface se.l4.silo.FetchResult
- close() - Method in interface se.l4.silo.ResourceHandle
- close() - Method in class se.l4.silo.results.EmptyFetchResult
- close() - Method in class se.l4.silo.results.IteratorFetchResult
- close() - Method in class se.l4.silo.results.TransformingFetchResult
- close() - Method in interface se.l4.silo.Silo
- commit() - Method in interface se.l4.silo.Transaction
-
Commit any changes made.
- create(Class<T>) - Method in interface se.l4.silo.Silo
-
Create a new instance of the specified interface for usage with the storage.
- create(QueryRunner<EntityDataType, ResultType>) - Method in interface se.l4.silo.query.QueryType
-
Create a new query for the given result type.
- create(QueryRunner<ResultType, ResultType>) - Method in class se.l4.silo.index.IndexQueryType
- Criterion() - Constructor for class se.l4.silo.index.IndexQueryRequest.Criterion
D
- DefaultObjectEntity<T> - Class in se.l4.silo.structured
-
Implementation of
ObjectEntity. - DefaultObjectEntity(StructuredEntity, Serializer<T>, Function<T, Object>) - Constructor for class se.l4.silo.structured.DefaultObjectEntity
- delete(Object) - Method in interface se.l4.silo.binary.BinaryEntity
-
Delete an already stored value.
- delete(Object) - Method in interface se.l4.silo.structured.StructuredEntity
-
Delete data associated with the given identifier.
- delete(T) - Method in class se.l4.silo.structured.DefaultObjectEntity
- delete(T) - Method in interface se.l4.silo.structured.ObjectEntity
-
Delete the given object.
- DeleteResult - Interface in se.l4.silo
- deleteViaId(Object) - Method in class se.l4.silo.structured.DefaultObjectEntity
- deleteViaId(Object) - Method in interface se.l4.silo.structured.ObjectEntity
-
Delete the given object.
E
- empty() - Static method in interface se.l4.silo.FetchResult
-
Get an empty fetch result.
- EmptyFetchResult<T> - Class in se.l4.silo.results
-
A
FetchResultthat is always empty. - entity(String, Class<T>) - Method in interface se.l4.silo.Silo
-
Get an entity of the given type.
- Entity - Interface in se.l4.silo
-
Base for entities in
Silo. - EQUAL - se.l4.silo.index.IndexQueryRequest.Op
F
- FetchResult<T> - Interface in se.l4.silo
-
Result of a fetch request, contains the results and information about the parameters used for fetching.
- fetchResults(Object, Function<QueryResult<T>, R>) - Method in interface se.l4.silo.query.QueryRunner
-
Query and fetch results matching.
- FetchResultSpliterator<T> - Class in se.l4.silo.results
-
Spliteratorfor anyFetchResult. - FetchResultSpliterator(FetchResult<T>) - Constructor for class se.l4.silo.results.FetchResultSpliterator
- field(String) - Method in class se.l4.silo.index.IndexQueryImpl
- field(String) - Method in interface se.l4.silo.query.IndexQuery
-
Set the name of the field that the operation should run on.
- first() - Method in interface se.l4.silo.FetchResult
-
Get the first entry is this result.
- forCollection(Collection<N>) - Static method in interface se.l4.silo.FetchResult
-
Get a
FetchResultfor the given collection. - forCollection(Collection<N>, int, int, int) - Static method in interface se.l4.silo.FetchResult
-
Get a
FetchResultfor the given collection.
G
- get(Object) - Method in interface se.l4.silo.binary.BinaryEntity
-
Get an object via its identifier.
- get(Object) - Method in class se.l4.silo.structured.DefaultObjectEntity
- get(Object) - Method in interface se.l4.silo.structured.ObjectEntity
-
Get an object.
- get(Object) - Method in interface se.l4.silo.structured.StructuredEntity
-
Get data stored for the given identifier.
- getCriterias() - Method in class se.l4.silo.index.IndexQueryRequest
- getData() - Method in interface se.l4.silo.binary.BinaryEntry
-
Get the data of this item.
- getData() - Method in interface se.l4.silo.query.QueryResult
-
Get the main data of the result.
- getField() - Method in class se.l4.silo.index.IndexQueryRequest.Criterion
- getField() - Method in class se.l4.silo.index.IndexQueryRequest.SortOnField
- getId() - Method in interface se.l4.silo.binary.BinaryEntry
-
Get the identifier.
- getId() - Method in interface se.l4.silo.StoreResult
-
Get the identifier of the stored object.
- getLimit() - Method in interface se.l4.silo.FetchResult
-
Get the limit used to fetch these results.
- getLimit() - Method in class se.l4.silo.index.IndexQueryRequest
- getLimit() - Method in class se.l4.silo.results.EmptyFetchResult
- getLimit() - Method in class se.l4.silo.results.IteratorFetchResult
- getLimit() - Method in class se.l4.silo.results.TransformingFetchResult
- getMetadata(String) - Method in interface se.l4.silo.query.QueryFetchResult
-
Get some metadata from this query result.
- getMetadata(String) - Method in interface se.l4.silo.query.QueryResult
-
Get some metadata from this query result.
- getMetadata(String) - Method in class se.l4.silo.results.TransformingQueryFetchResult
- getMetadata(String, R) - Method in interface se.l4.silo.query.QueryResult
-
Get some metadata from this query result.
- getName() - Method in interface se.l4.silo.Entity
-
Get the name of this entity.
- getName() - Method in class se.l4.silo.structured.DefaultObjectEntity
- getOffset() - Method in interface se.l4.silo.FetchResult
-
Get the offset used to fetch these results.
- getOffset() - Method in class se.l4.silo.index.IndexQueryRequest
- getOffset() - Method in class se.l4.silo.results.EmptyFetchResult
- getOffset() - Method in class se.l4.silo.results.IteratorFetchResult
- getOffset() - Method in class se.l4.silo.results.TransformingFetchResult
- getOp() - Method in class se.l4.silo.index.IndexQueryRequest.Criterion
- getSize() - Method in interface se.l4.silo.FetchResult
-
Get the number of returned results.
- getSize() - Method in class se.l4.silo.results.EmptyFetchResult
- getSize() - Method in class se.l4.silo.results.IteratorFetchResult
- getSize() - Method in class se.l4.silo.results.TransformingFetchResult
- getSize() - Method in interface se.l4.silo.StoreResult
-
Get the size of the stream stored.
- getSort() - Method in class se.l4.silo.index.IndexQueryRequest
- getTotal() - Method in interface se.l4.silo.FetchResult
-
Get the total number of results available.
- getTotal() - Method in class se.l4.silo.results.EmptyFetchResult
- getTotal() - Method in class se.l4.silo.results.IteratorFetchResult
- getTotal() - Method in class se.l4.silo.results.TransformingFetchResult
- getValue() - Method in class se.l4.silo.index.IndexQueryRequest.Criterion
H
- hasEntity(String) - Method in interface se.l4.silo.Silo
-
Check if the given entity is available.
I
- IndexQuery<T> - Interface in se.l4.silo.query
-
Simple query abilities that run on top of indexed fields.
- IndexQueryImpl<T> - Class in se.l4.silo.index
- IndexQueryImpl(QueryRunner<T, T>) - Constructor for class se.l4.silo.index.IndexQueryImpl
- IndexQueryRequest - Class in se.l4.silo.index
- IndexQueryRequest() - Constructor for class se.l4.silo.index.IndexQueryRequest
- IndexQueryRequest.Criterion - Class in se.l4.silo.index
- IndexQueryRequest.Op - Enum in se.l4.silo.index
- IndexQueryRequest.SortOnField - Class in se.l4.silo.index
- IndexQueryType<ResultType> - Class in se.l4.silo.index
- IndexQueryType() - Constructor for class se.l4.silo.index.IndexQueryType
- INSTANCE - Static variable in class se.l4.silo.results.EmptyFetchResult
- inTransaction(Runnable) - Method in interface se.l4.silo.Silo
-
Run the given
Runnablein a transaction. - inTransaction(Supplier<T>) - Method in interface se.l4.silo.Silo
-
Run the given
Supplierin a transaction. - isAscending() - Method in class se.l4.silo.index.IndexQueryRequest.SortOnField
- isEmpty() - Method in interface se.l4.silo.FetchResult
-
Check if these results are empty.
- isEmpty() - Method in class se.l4.silo.results.EmptyFetchResult
- isEmpty() - Method in class se.l4.silo.results.IteratorFetchResult
- isEmpty() - Method in class se.l4.silo.results.TransformingFetchResult
- isEqualTo(Object) - Method in class se.l4.silo.index.IndexQueryImpl
- isEqualTo(Object) - Method in interface se.l4.silo.query.IndexQuery
-
Check if the field is equal to the specified value.
- isLessThan(Number) - Method in class se.l4.silo.index.IndexQueryImpl
- isLessThan(Number) - Method in interface se.l4.silo.query.IndexQuery
-
Check if the field is less than the specified number.
- isLessThanOrEqualTo(Number) - Method in class se.l4.silo.index.IndexQueryImpl
- isLessThanOrEqualTo(Number) - Method in interface se.l4.silo.query.IndexQuery
-
Check if the field is less than or equal to the specified number.
- isMoreThan(Number) - Method in class se.l4.silo.index.IndexQueryImpl
- isMoreThan(Number) - Method in interface se.l4.silo.query.IndexQuery
-
Check if the field is more than the specified number.
- isMoreThanOrEqualTo(Number) - Method in class se.l4.silo.index.IndexQueryImpl
- isMoreThanOrEqualTo(Number) - Method in interface se.l4.silo.query.IndexQuery
-
Check if the field is more than or equal to the specified number.
- isReverseDefaultSort() - Method in class se.l4.silo.index.IndexQueryRequest
- iterator() - Method in class se.l4.silo.results.EmptyFetchResult
- iterator() - Method in class se.l4.silo.results.IteratorFetchResult
- iterator() - Method in class se.l4.silo.results.TransformingFetchResult
- IteratorFetchResult<T> - Class in se.l4.silo.results
-
FetchResultimplemented over anIterator. - IteratorFetchResult(Collection<T>, long, long, long) - Constructor for class se.l4.silo.results.IteratorFetchResult
- IteratorFetchResult(Iterator<T>, long, long, long, long) - Constructor for class se.l4.silo.results.IteratorFetchResult
L
- LESS_THAN - se.l4.silo.index.IndexQueryRequest.Op
- LESS_THAN_OR_EQUAL_TO - se.l4.silo.index.IndexQueryRequest.Op
- limit(long) - Method in class se.l4.silo.index.IndexQueryImpl
- limit(long) - Method in interface se.l4.silo.query.LimitableQuery
-
Set the number of results this query can return.
- LimitableQuery<Self extends LimitableQuery<Self>> - Interface in se.l4.silo.query
-
Extension for
Querythat indicates that a query can limit its results.
M
- MORE_THAN - se.l4.silo.index.IndexQueryRequest.Op
- MORE_THAN_OR_EQUAL_TO - se.l4.silo.index.IndexQueryRequest.Op
N
- newTransaction() - Method in interface se.l4.silo.Silo
-
Create a new transaction for the current thread.
O
- ObjectEntity<T> - Interface in se.l4.silo.structured
-
Entity for storing and retrieving objects.
- offset(long) - Method in class se.l4.silo.index.IndexQueryImpl
- offset(long) - Method in interface se.l4.silo.query.LimitableQuery
-
Set the offset of this query.
P
- paginate(int, int) - Method in interface se.l4.silo.query.LimitableQuery
-
Paginate this query, this will invoke
LimitableQuery.offset(long)andLimitableQuery.limit(long)with arguments calculated from the page. - parallelStream() - Method in interface se.l4.silo.FetchResult
-
Get a
Streamfor this result for parallel operations, seeCollection.parallelStream()for details.
Q
- query(String, QueryType<StreamingInput, RT, Q>) - Method in interface se.l4.silo.structured.StructuredEntity
-
Query the the query engine.
- query(String, QueryType<T, RT, Q>) - Method in class se.l4.silo.structured.DefaultObjectEntity
- query(String, QueryType<T, RT, Q>) - Method in interface se.l4.silo.structured.ObjectEntity
-
Query the the query engine.
- Query<R> - Interface in se.l4.silo.query
-
Query builder.
- QueryFetchResult<T> - Interface in se.l4.silo.query
-
Extension to
FetchResultto support sending extra metadata in the result. - QueryResult<T> - Interface in se.l4.silo.query
-
Individual result of a query operation.
- QueryRunner<T,R> - Interface in se.l4.silo.query
-
Receiver of query operations from a
Query. - QueryType<EntityDataType,ResultType,QueryBuilder extends Query<?>> - Interface in se.l4.silo.query
-
Type interface that creates instances of
Query.
R
- ResourceHandle - Interface in se.l4.silo
-
A lock on a resource, used when we know we are going to interact a lot with the storage.
- reverseDefaultSort() - Method in class se.l4.silo.index.IndexQueryImpl
- reverseDefaultSort() - Method in interface se.l4.silo.query.IndexQuery
-
Indicate the default sort should be reversed.
- rollback() - Method in interface se.l4.silo.Transaction
-
Rollback any changes made.
- run() - Method in class se.l4.silo.index.IndexQueryImpl
- run() - Method in interface se.l4.silo.query.Query
-
Run this query and return the result.
S
- se.l4.silo - package se.l4.silo
- se.l4.silo.binary - package se.l4.silo.binary
- se.l4.silo.index - package se.l4.silo.index
- se.l4.silo.query - package se.l4.silo.query
- se.l4.silo.results - package se.l4.silo.results
- se.l4.silo.structured - package se.l4.silo.structured
- setLimit(long) - Method in class se.l4.silo.index.IndexQueryRequest
- setOffset(long) - Method in class se.l4.silo.index.IndexQueryRequest
- setReverseDefaultSort(boolean) - Method in class se.l4.silo.index.IndexQueryRequest
- Silo - Interface in se.l4.silo
-
Silo storage, provides access to all entities stored, transactions and resource management.
- single(N) - Static method in interface se.l4.silo.FetchResult
-
Get a
FetchResultrepresenting the fetch of a single item. - sort(boolean) - Method in class se.l4.silo.index.IndexQueryImpl
- sort(boolean) - Method in interface se.l4.silo.query.IndexQuery
-
Sort by the specified field in the given order.
- sortAscending() - Method in class se.l4.silo.index.IndexQueryImpl
- sortAscending() - Method in interface se.l4.silo.query.IndexQuery
-
Sort by the specified field in ascending order.
- sortDescending() - Method in class se.l4.silo.index.IndexQueryImpl
- sortDescending() - Method in interface se.l4.silo.query.IndexQuery
-
Sort by the specified field in descending order.
- SortOnField() - Constructor for class se.l4.silo.index.IndexQueryRequest.SortOnField
- spliterator() - Method in interface se.l4.silo.FetchResult
- StorageException - Exception in se.l4.silo
-
Exception thrown when a storage operation can not be completed.
- StorageException() - Constructor for exception se.l4.silo.StorageException
- StorageException(String) - Constructor for exception se.l4.silo.StorageException
- StorageException(String, Throwable) - Constructor for exception se.l4.silo.StorageException
- StorageException(Throwable) - Constructor for exception se.l4.silo.StorageException
- StorageTransactionException - Exception in se.l4.silo
-
Exception thrown when an issue with a
Transactionhas been detected. - StorageTransactionException(String, Throwable) - Constructor for exception se.l4.silo.StorageTransactionException
- store(Object, Bytes) - Method in interface se.l4.silo.binary.BinaryEntity
-
Store a new value for this entity.
- store(Object, StreamingInput) - Method in interface se.l4.silo.structured.StructuredEntity
-
Store new data and associate it with the given identifier.
- store(T) - Method in class se.l4.silo.structured.DefaultObjectEntity
- store(T) - Method in interface se.l4.silo.structured.ObjectEntity
-
Store an object.
- StoreResult - Interface in se.l4.silo
- stream() - Method in interface se.l4.silo.FetchResult
-
Get a
Streamfor this result, seeCollection.stream()for details. - stream() - Method in class se.l4.silo.structured.DefaultObjectEntity
- stream() - Method in interface se.l4.silo.structured.ObjectEntity
-
Stream all of the objects stored in this entity.
- stream() - Method in interface se.l4.silo.structured.StructuredEntity
-
Stream everything in this entry.
- structured(String) - Method in interface se.l4.silo.Silo
-
Get an entity used for storing structured data with the given name.
- StructuredEntity - Interface in se.l4.silo.structured
-
Entity for storing structured data.
T
- toString() - Method in class se.l4.silo.results.EmptyFetchResult
- Transaction - Interface in se.l4.silo
-
Transaction in
Silo. - transform(Function<T, N>) - Method in interface se.l4.silo.FetchResult
-
Transform this fetch result using the given function.
- transform(Function<T, N>) - Method in interface se.l4.silo.query.QueryFetchResult
-
Transform this fetch result using the given function.
- TransformingFetchResult<T> - Class in se.l4.silo.results
-
FetchResultthat transforms found entries. - TransformingFetchResult(FetchResult<I>, Function<I, T>) - Constructor for class se.l4.silo.results.TransformingFetchResult
- TransformingQueryFetchResult<T> - Class in se.l4.silo.results
-
Implementation of
QueryFetchResultfor transforming results. - TransformingQueryFetchResult(QueryFetchResult<I>, Function<I, T>) - Constructor for class se.l4.silo.results.TransformingQueryFetchResult
- tryAdvance(Consumer<? super T>) - Method in class se.l4.silo.results.FetchResultSpliterator
- type() - Static method in interface se.l4.silo.query.IndexQuery
V
- valueOf(String) - Static method in enum se.l4.silo.index.IndexQueryRequest.Op
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum se.l4.silo.index.IndexQueryRequest.Op
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- wasDeleted() - Method in interface se.l4.silo.DeleteResult
All Classes All Packages