#695 - ENH: Add @DbArray for storing scalar types (UUID, Long, String) to Postgres ARRAY type

This commit is contained in:
Robin Bygrave committed 2016-05-09 22:38:51 +12:00
1 parent 2bb39b02d0
commit b197d8a637
53 files changed
+1102 -229

No files matched your search

@@ -1,6 +1,6 @@
package com.avaje.ebeaninternal.api;
import com.avaje.ebeaninternal.server.core.JsonExpressionHandler;
import com.avaje.ebeaninternal.server.core.DbExpressionHandler;
import com.avaje.ebeaninternal.server.core.SpiOrmQueryRequest;
import com.avaje.ebeaninternal.server.deploy.BeanDescriptor;
@@ -12,49 +12,49 @@ import java.util.List;
public interface SpiExpressionRequest {
/**
* Return the DB specific JSON expression handler.
* Return the DB specific handler for JSON and ARRAY expressions.
*/
JsonExpressionHandler getJsonHandler();
DbExpressionHandler getDbPlatformHandler();
/**
* Parse the logical property name to the deployment name.
*/
String parseDeploy(String logicalProp);
/**
* Return the bean descriptor for the root type.
*/
BeanDescriptor<?> getBeanDescriptor();
/**
* Return the associated QueryRequest.
*/
SpiOrmQueryRequest<?> getQueryRequest();
/**
* Append to the expression sql.
*/
SpiExpressionRequest append(String sql);
/**
* Return the bean descriptor for the root type.
*/
BeanDescriptor<?> getBeanDescriptor();
/**
* Return the associated QueryRequest.
*/
SpiOrmQueryRequest<?> getQueryRequest();
/**
* Append to the expression sql.
*/
SpiExpressionRequest append(String sql);
/**
* Add an encryption key to bind to this request.
*/
void addBindEncryptKey(Object encryptKey);
/**
* Add a bind value to this request.
*/
void addBindValue(Object bindValue);
/**
* Return the accumulated expression sql for all expressions in this request.
*/
String getSql();
/**
* Return the ordered list of bind values for all expressions in this request.
*/
List<Object> getBindValues();
/**
* Add a bind value to this request.
*/
void addBindValue(Object bindValue);
/**
* Return the accumulated expression sql for all expressions in this request.
*/
String getSql();
/**
* Return the ordered list of bind values for all expressions in this request.
*/
List<Object> getBindValues();
/**
* Increments the parameter index and returns that value.