Modifier and Type | Method and Description |
---|---|
Queryable |
QueryFactory.Builder.build(String name) |
static <T> Queryable |
QueryFactory.clone(Queryable queryable) |
static <T> Queryable |
QueryFactory.clone(Queryable queryable,
Class<T> returnType)
Clone
queryable object with a return type if no null |
static <T> Queryable |
QueryFactory.clone(Queryable queryable,
RegisterType registerType)
Clone
queryable object with a return type if no null |
static <T> Queryable |
QueryFactory.clone(Queryable queryable,
RegisterType registerType,
Class<T> returnType) |
static <T> Queryable |
QueryFactory.clone(String queryName,
Queryable queryable,
Object params,
RegisterType registerType,
Class<T> returnType)
Clone
queryable object with a return type if no null |
static <T> Queryable |
QueryFactory.of(String name,
Class<T> returnType)
Build a new
Queryable object |
static <T> Queryable |
QueryFactory.of(String name,
Class<T> returnType,
Object... args)
Build a new
Queryable object |
static <T> Queryable |
QueryFactory.of(String name,
Class<T> returnType,
Object params)
Creates a
Queryable object parameterized starting at first row and retrieve all rows,
isolation default, no timeout and online (no batch). |
static Queryable |
QueryFactory.of(String name,
int offset,
int max)
Build a new
Queryable object without parameters |
static Queryable |
QueryFactory.of(String name,
Object... params)
Creates a Query object parameterized starting at first row and retrieve all rows, isolation default, no timeout and online (no batch).
|
static Queryable |
QueryFactory.of(String name,
Object params)
Creates a
Queryable object parameterized starting at first row and retrieve all rows,
isolation default, no timeout and online (no batch). |
static Queryable |
QueryFactory.of(String name,
Object params,
int offset,
int max)
Build a new
Queryable object |
static Queryable |
QueryFactory.of(String name,
RegisterType registerType,
Object... args) |
static Queryable |
QueryFactory.ofArray(String name,
Object... params)
Creates a
Queryable object parameterized starting at first row and retrieve all rows,
isolation default, no timeout and online (no batch). |
static Queryable |
QueryFactory.ofArray(String name,
RegisterType registerType,
Object... params) |
Modifier and Type | Method and Description |
---|---|
int |
Repository.add(Queryable queryable)
Add a new object to repository.
|
static <T> Queryable |
QueryFactory.clone(Queryable queryable) |
static <T> Queryable |
QueryFactory.clone(Queryable queryable,
Class<T> returnType)
Clone
queryable object with a return type if no null |
static <T> Queryable |
QueryFactory.clone(Queryable queryable,
RegisterType registerType)
Clone
queryable object with a return type if no null |
static <T> Queryable |
QueryFactory.clone(Queryable queryable,
RegisterType registerType,
Class<T> returnType) |
static <T> Queryable |
QueryFactory.clone(String queryName,
Queryable queryable,
Object params,
RegisterType registerType,
Class<T> returnType)
Clone
queryable object with a return type if no null |
boolean |
Repository.enrich(Queryable queryable)
Use the
Queryable to retrieve data and appends the result to getParams()
parameters, where for each get method must have a correspondent set . |
<T> T |
Repository.get(Queryable queryable)
Get one object instance from repository using a query.
|
<T> T |
Repository.get(Queryable queryable,
Class<T> returnType)
Get one object instance of type
returnType from repository using a query. |
<T,R> T |
Repository.get(Queryable queryable,
ResultRow<T,R> customResultRow)
Get one object instance from repository using a query.
|
<T> List<T> |
Repository.list(Queryable queryable)
Retrieve a set of objects
T from repository using a query. |
<T> List<T> |
Repository.list(Queryable queryable,
Class<T> returnType)
Retrieve a set of objects
returnType from repository using a query. |
<T,R> List<T> |
Repository.list(Queryable queryable,
ResultRow<T,R> customResultRow)
Retrieve a set of objects
T from repository using a query. |
int |
Repository.remove(Queryable queryable)
Execute a query to remove one or many objects from repository.
|
<T> T |
Repository.scalar(Queryable queryable)
Retrieve a number, numerical quantity, string, date, boolean, some primitive value (wrapped),
the type is checked against jdbc data type.
|
int |
Repository.update(Queryable queryable)
Update many objects in repository.
|
Modifier and Type | Field and Description |
---|---|
protected Queryable |
DefaultCommand.queryable |
Constructor and Description |
---|
AddSequenceKeyJdbcCommand(Queryable queryable) |
BulkCommand(Queryable queryable) |
DefaultCommand(Queryable queryable) |
DefaultQuery(Queryable queryable) |
Constructor and Description |
---|
CassandraPreparedStatementAdapter(com.datastax.driver.core.Session session,
com.datastax.driver.core.PreparedStatement stmt,
Queryable queryable,
RegisterType registerType,
RegisterCodec registerCodec) |
CassandraStatementAdapter(com.datastax.driver.core.Session session,
com.datastax.driver.core.Statement stmt,
Queryable queryable,
RegisterType registerType) |
Modifier and Type | Field and Description |
---|---|
protected Queryable |
DefaultCommandHandler.queryable |
Modifier and Type | Method and Description |
---|---|
<T,R> Command |
CommandAdapter.asAddCommand(Queryable queryable) |
<T,R> Command |
CommandAdapter.asRemoveCommand(Queryable queryable) |
<T,R> Command |
CommandAdapter.asSelectCommand(Queryable queryable,
ResultRow<T,R> overloadResultRow) |
<T,R> Command |
CommandAdapter.asUpdateCommand(Queryable queryable) |
CommandHandler |
CommandHandler.with(Queryable queryable)
Configure the life-cycle with a
Queryable |
CommandHandler |
DefaultCommandHandler.with(Queryable queryable) |
CommandHandler |
NoCommandHandler.with(Queryable queryable) |
Modifier and Type | Method and Description |
---|---|
Param |
HttpBuilder.getProperty(Queryable queryable,
String name) |
String |
HttpBuilder.getUrlForAddOrUpdateOrDelete(Queryable queryable) |
String |
HttpBuilder.getUrlForAllDocs(Queryable queryable) |
String |
HttpBuilder.getUrlForGet(Queryable queryable) |
String |
HttpBuilder.getUrlForView(Queryable queryable) |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractCommand.getRevision(Queryable queryable) |
protected void |
AbstractCommand.setBookmark(String bookmark,
Queryable queryable) |
Constructor and Description |
---|
AddCommand(HttpBuilder httpBuilder,
Queryable queryable) |
AllDocsCommand(HttpBuilder httpBuilder,
Queryable queryable) |
BulkCommand(HttpBuilder httpBuilder,
Queryable queryable) |
DeleteCommand(HttpBuilder httpBuilder,
Queryable queryable) |
FindCommand(HttpBuilder httpBuilder,
Queryable queryable) |
FullResponseFindCommand(HttpBuilder httpBuilder,
Queryable queryable) |
GetCommand(HttpBuilder httpBuilder,
Queryable queryable) |
UpdateCommand(HttpBuilder httpBuilder,
Queryable queryable) |
ViewCommand(HttpBuilder httpBuilder,
Queryable queryable) |
Modifier and Type | Method and Description |
---|---|
<T,R> Command |
JdbcConnectionAdapter.asAddCommand(Queryable queryable) |
<T,R> Command |
JdbcConnectionAdapter.asRemoveCommand(Queryable queryable) |
<T,R> Command |
JdbcConnectionAdapter.asSelectCommand(Queryable queryable,
ResultRow<T,R> overloadResultRow) |
<T,R> Command |
JdbcConnectionAdapter.asUpdateCommand(Queryable queryable) |
Modifier and Type | Field and Description |
---|---|
protected Queryable |
AbstractJdbcCommand.queryable |
Constructor and Description |
---|
AbstractJdbcCommand(Queryable queryable,
Connection conn) |
AddAutoKeyJdbcCommand(Queryable queryable,
Connection conn) |
AddSequenceKeyJdbcCommand(Queryable queryable,
Connection conn) |
BulkJdbcCommand(Queryable queryable,
Connection conn) |
DefaultJdbcCommand(Queryable queryable,
Connection conn) |
DefaultJdbcQuery(Queryable queryable,
Connection conn) |
Constructor and Description |
---|
JdbcPreparedStatementAdapter(PreparedStatement stmt,
Queryable queryable) |
Modifier and Type | Method and Description |
---|---|
<T,R> Command |
JpaCommandAdapter.asAddCommand(Queryable queryable) |
<T,R> Command |
JpaCommandAdapter.asRemoveCommand(Queryable queryable) |
<T,R> Command |
JpaCommandAdapter.asSelectCommand(Queryable queryable,
ResultRow<T,R> overloadResultRow) |
<T,R> Command |
JpaCommandAdapter.asUpdateCommand(Queryable queryable) |
Modifier and Type | Field and Description |
---|---|
protected Queryable |
BulkJpaCommand.queryable |
protected Queryable |
DefaultJpaCommand.queryable |
protected Queryable |
MergeCommand.queryable |
protected Queryable |
PersistCommand.queryable |
protected Queryable |
RemoveCommand.queryable |
Constructor and Description |
---|
BulkJpaCommand(Queryable queryable,
Connection conn) |
DefaultJpaCommand(Queryable queryable) |
DefaultJpaQuery(Queryable queryable) |
MergeCommand(javax.persistence.EntityManager em,
Queryable queryable) |
PersistCommand(Queryable queryable) |
RemoveCommand(Queryable queryable) |
Constructor and Description |
---|
JpaStatementAdapter(javax.persistence.Query query,
Queryable queryable,
HandleableException handlerException) |
Modifier and Type | Method and Description |
---|---|
static <T,R> AutoBindParams |
PrepareParamsFactory.newBasicParam(StatementAdapter<T,R> adapter,
Queryable queryable) |
static <T,R> AutoBindParams |
PrepareParamsFactory.newNamedParams(StatementAdapter<T,R> adapter,
Queryable queryable) |
static <T,R> AutoBindParams |
PrepareParamsFactory.newPositionalArrayParams(StatementAdapter<T,R> adapter,
Queryable queryable) |
static <T,R> AutoBindParams |
PrepareParamsFactory.newPositionalCollectionArrayParams(StatementAdapter<T,R> adapter,
Queryable queryable) |
static <T,R> AutoBindParams |
PrepareParamsFactory.newPositionalCollectionMapParams(StatementAdapter<T,R> adapter,
Queryable queryable) |
static <T,R> AutoBindParams |
PrepareParamsFactory.newPositionalCollectionParams(StatementAdapter<T,R> adapter,
Queryable queryable) |
static <T,R> AutoBindParams |
PrepareParamsFactory.newPositionalCollectionPojoParams(StatementAdapter<T,R> adapter,
Queryable queryable,
RegisterType registerType) |
static <T,R> AutoBindParams |
PrepareParamsFactory.newPositionalParams(StatementAdapter<T,R> adapter,
Queryable queryable) |
static <T,R> AutoBindParams |
PrepareParamsFactory.newPrepareParams(StatementAdapter<T,R> adapter,
Queryable queryable) |
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.