|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStoreQueryEngine
A IStoreQueryEngine
provides indexing and query capabilities
for IStoreBinding
s.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.neeve.query.QueryEngine |
---|
QueryEngine.BackgroundIndexingPolicy |
Method Summary | ||
---|---|---|
IStoreQuery |
createQuery()
Creates an empty Query that can be executed against this QueryEngine . |
|
IStoreQuery |
createQuery(String xsql)
Creates a Query corresponding to the provided SELECT statement. |
|
IStoreQueryResultSet |
execute(IStoreQuery query)
Executes the given log query against the logs added to this IStoreQueryEngine . |
|
IStoreQueryResultSet |
execute(String xsql)
Executes an xpql query against this QueryEngine . |
|
|
getField(Class<?> objectType,
String fieldPath)
|
|
|
getField(Class<?> objectType,
String fieldPath,
Class<T> fieldType,
Class<?>... pathTypes)
|
|
|
getField(String columnDefinition)
Parses a field using the query engine's parser. |
|
|
getField(String objectTypeName,
String fieldPath)
|
Methods inherited from interface com.neeve.query.QueryEngine |
---|
addRepository, close, createIndex, createIndex, createIndex, dropIndex, dropIndex, execute, executeStatement, getFetchRatioThreshold, getIndexedFields, getRepositories, removeRepository, setAutoIndexing, setBackgroundIndexingPolicy, setDefaultIndexing, setDefaultPackage, setFetchRatioThreshold, waitForBackgroundIndexing |
Method Detail |
---|
IStoreQueryResultSet execute(String xsql)
QueryEngine
QueryEngine
.
execute
in interface QueryEngine<com.eaio.uuid.UUID,IStoreObject>
xsql
- The SELECT statement to execute.
QueryResult
.IStoreQuery createQuery(String xsql)
QueryEngine
Query
corresponding to the provided SELECT statement.
createQuery
in interface QueryEngine<com.eaio.uuid.UUID,IStoreObject>
xsql
- The query stringIStoreQuery createQuery()
QueryEngine
Query
that can be executed against this QueryEngine
.
createQuery
in interface QueryEngine<com.eaio.uuid.UUID,IStoreObject>
Query
.IStoreQueryResultSet execute(IStoreQuery query)
IStoreQueryEngine
.
query
- The query to execute.
IStoreQueryResultSet
results.<T> IStoreField<T> getField(String columnDefinition) throws QueryException, QueryParseException
QueryEngine
getField
in interface QueryEngine<com.eaio.uuid.UUID,IStoreObject>
columnDefinition
- A field.
QueryParseException
- if the columnDefinition can't be parsed as a valid column name
QueryException
- if there is an error resolving the field<T> IStoreField<T> getField(String objectTypeName, String fieldPath)
getField
in interface com.neeve.query.index.IdxFieldResolver<IStoreObject>
<T> IStoreField<T> getField(Class<?> objectType, String fieldPath)
getField
in interface com.neeve.query.index.IdxFieldResolver<IStoreObject>
<T> IStoreField<T> getField(Class<?> objectType, String fieldPath, Class<T> fieldType, Class<?>... pathTypes)
getField
in interface com.neeve.query.index.IdxFieldResolver<IStoreObject>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |