| Package | Description |
|---|---|
| org.sqlproc.engine |
The public part of the SQL Processor implementation.
|
| org.sqlproc.engine.impl |
The private part of the SQL Processor implementation.
|
| org.sqlproc.engine.jdbc.type |
All the META types staff for the JDBC stack devoted to special handling of input/output values.
|
| org.sqlproc.engine.plugin |
The plugins are used to alter the behavior of the SQL Processor.
|
| org.sqlproc.engine.type |
All the META types staff devoted to special handling of input/output values.
|
| Modifier and Type | Field and Description |
|---|---|
private List<SqlMetaType> |
SqlDefaultFactory.customTypes
The custom META types.
|
| Modifier and Type | Method and Description |
|---|---|
List<SqlMetaType> |
SqlDefaultFactory.getCustomTypes()
Returns the custom META types.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SqlDefaultFactory.addCustomType(SqlMetaType customType)
Adds a new custom META type.
|
void |
SqlDefaultFactory.setCustomTypes(SqlMetaType... customTypes)
Sets the custom META types.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SqlDefaultFactory.setCustomTypes(List<SqlMetaType> customTypes)
Sets the custom META types.
|
| Constructor and Description |
|---|
SqlProcessorLoader(StringBuilder sbStatements,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory,
String filter,
SqlMonitorFactory monitorFactory,
List<SqlMetaType> customTypes,
String... onlyStatements)
Creates a new instance of the SqlProcessorLoader from the String content repository (which is in fact a
collection of the META SQL statements, mapping rules and optional features.
|
SqlProcessorLoader(StringBuilder sbStatements,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory,
String filter,
SqlMonitorFactory monitorFactory,
SqlValidatorFactory validatorFactory,
List<SqlMetaType> customTypes,
SqlEngineConfiguration configuration,
String... onlyStatements)
Creates a new instance of the SqlProcessorLoader from the String content repository (which is in fact a
collection of the META SQL statements, mapping rules and optional features.
|
SqlProcessorLoader(StringBuilder sbStatements,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory,
String filter,
SqlMonitorFactory monitorFactory,
SqlValidatorFactory validatorFactory,
List<SqlMetaType> customTypes,
String... onlyStatements)
Creates a new instance of the SqlProcessorLoader from the String content repository (which is in fact a
collection of the META SQL statements, mapping rules and optional features.
|
| Modifier and Type | Field and Description |
|---|---|
private SqlMetaType |
SqlType.metaType
The internal META type, which means special processing of the input/output value.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) SqlMetaType |
SqlType.getMetaType(SqlProcessContext ctx)
Returns the internal type.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
SqlMetaIdent.setMetaType(String metaTypeName,
SqlMetaType metaType)
Sets the internal type of this input value.
|
(package private) void |
SqlMetaConst.setMetaType(String metaTypeName,
SqlMetaType metaType)
Sets the internal type of this input value.
|
(package private) void |
SqlMappingItem.setMetaType(String metaTypeName,
SqlMetaType metaType)
Assigns the internal type.
|
| Constructor and Description |
|---|
SqlType(String metaTypeName,
SqlMetaType metaType)
Creates a new instance with specified internal type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JdbcBigDecimalType
The JDBC META type BIGDECIMAL.
|
class |
JdbcBigIntegerType
The JDBC META type BIGINTEGER.
|
class |
JdbcBlobType
The SQL META Types for BLOB.
|
class |
JdbcBooleanType
The JDBC META type BOOLEAN.
|
class |
JdbcByteArrayType
The JDBC META type BYTEARRAY.
|
class |
JdbcByteArrayWrapperType
TThe JDBC META type BYTEARRAY.
|
class |
JdbcByteType
The JDBC META type BYTE.
|
class |
JdbcCharType
The JDBC META type CHARACTER.
|
class |
JdbcClobType
The JDBC META type CLOB.
|
class |
JdbcDateTimeType
The JDBC META type DATETIME.
|
class |
JdbcDateType
The JDBC META type DATE.
|
class |
JdbcDefaultType
The default META type for the JDBC stack.
|
class |
JdbcDoubleType
The JDBC META type DOUBLE.
|
class |
JdbcEnumIntegerType
The JDBC META type ENUMINTEGER.
|
class |
JdbcEnumStringType
The JDBC META type ENUMSTRING.
|
class |
JdbcFloatType
The JDBC META type FLOAT.
|
class |
JdbcFromDateType
The JDBC META type FROMDATE.
|
class |
JdbcInstantType
The JDBC META type INSTANT.
|
class |
JdbcIntegerType
The JDBC META type INTEGER.
|
class |
JdbcLocalDateTimeType
The JDBC META type LOCALDATETIME.
|
class |
JdbcLocalDateType
The JDBC META type LOCALDATE.
|
class |
JdbcLocalTimeType
The JDBC META type LOCALTIME.
|
class |
JdbcLongType
The JDBC META type LONG.
|
class |
JdbcOracleCursorType
The JDBC META type ORACLE_CURSOR (from Oracle jdbc driver).
|
class |
JdbcOtherType
The JDBC META type OTHER.
|
class |
JdbcShortType
The JDBC META type SHORT.
|
class |
JdbcStringType
The JDBC META type STRING.
|
class |
JdbcTextType
The JDBC META type TEXT.
|
class |
JdbcTimestampType
The JDBC META type TIMESTAMP.
|
class |
JdbcTimeType
The JDBC META type TIME.
|
class |
JdbcToDateType
The JDBC META type TODATE.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) static SqlMetaType |
JdbcTypeFactory.BIG_DECIMAL
Singleton instance of String based enumeration type BIG_DECIMAL.
|
(package private) static SqlMetaType |
JdbcTypeFactory.BIG_INTEGER
Singleton instance of String based enumeration type BIG_INTEGER.
|
(package private) static SqlMetaType |
JdbcTypeFactory.BLOB
Singleton instance of String based enumeration type BLOB.
|
(package private) static SqlMetaType |
JdbcTypeFactory.BOOLEAN
Singleton instance of String based enumeration type BOOLEAN.
|
(package private) static SqlMetaType |
JdbcTypeFactory.BYTE
Singleton instance of String based enumeration type BYTE.
|
(package private) static SqlMetaType |
JdbcTypeFactory.BYTE_ARRAY
Singleton instance of String based enumeration type BYTE_ARRAY.
|
(package private) static SqlMetaType |
JdbcTypeFactory.BYTE_ARRAY_WRAPPER
Singleton instance of String based enumeration type BYTE_ARRAY_WRAPPER.
|
(package private) static SqlMetaType |
JdbcTypeFactory.CHAR
Singleton instance of String based enumeration type CHAR.
|
(package private) static SqlMetaType |
JdbcTypeFactory.CLOB
Singleton instance of String based enumeration type CLOB.
|
(package private) static SqlMetaType |
JdbcTypeFactory.DATE
Singleton instance of String based enumeration type DATE.
|
(package private) static SqlMetaType |
JdbcTypeFactory.DATE_TIME
Singleton instance of String based enumeration type DATE_TIME.
|
(package private) static SqlMetaType |
JdbcTypeFactory.DEFAULT
Singleton instance of default type.
|
(package private) static SqlMetaType |
JdbcTypeFactory.DOUBLE
Singleton instance of String based enumeration type DOUBLE.
|
(package private) static SqlMetaType |
JdbcTypeFactory.ENUM_INT
Singleton instance of Integer based enumeration type ENUM_INT.
|
(package private) static SqlMetaType |
JdbcTypeFactory.ENUM_STRING
Singleton instance of String based enumeration type ENUM_STRING.
|
(package private) static SqlMetaType |
JdbcTypeFactory.FLOAT
Singleton instance of String based enumeration type FLOAT.
|
(package private) static SqlMetaType |
JdbcTypeFactory.FROM_DATE
Singleton instance of String based enumeration type FROM_DATE.
|
(package private) static SqlMetaType |
JdbcTypeFactory.IDENTITY
Singleton instance of auto-generated identity type IDENTITY.
|
(package private) static SqlMetaType |
JdbcTypeFactory.INSTANT
Singleton instance of String based enumeration type INSTANT.
|
(package private) static SqlMetaType |
JdbcTypeFactory.INTEGER
Singleton instance of String based enumeration type INTEGER.
|
(package private) static SqlMetaType |
JdbcTypeFactory.LOCAL_DATE
Singleton instance of String based enumeration type LOCAL_DATE.
|
(package private) static SqlMetaType |
JdbcTypeFactory.LOCAL_DATE_TIME
Singleton instance of String based enumeration type LOCAL_DATE_TIME.
|
(package private) static SqlMetaType |
JdbcTypeFactory.LOCAL_TIME
Singleton instance of String based enumeration type LOCAL_TIME.
|
(package private) static SqlMetaType |
JdbcTypeFactory.LONG
Singleton instance of String based enumeration type LONG.
|
(package private) static SqlMetaType |
JdbcTypeFactory.ORACLE_CURSOR
Singleton instance of auto-generated identity type ORACLE_CURSOR.
|
(package private) static SqlMetaType |
JdbcTypeFactory.OTHER
Singleton instance of String based enumeration type OTHER.
|
(package private) static SqlMetaType |
JdbcTypeFactory.SHORT
Singleton instance of String based enumeration type SHORT.
|
(package private) static SqlMetaType |
JdbcTypeFactory.STRING
Singleton instance of String based enumeration type STRING.
|
(package private) static SqlMetaType |
JdbcTypeFactory.TEXT
Singleton instance of String based enumeration type TEXT.
|
(package private) static SqlMetaType |
JdbcTypeFactory.TIME
Singleton instance of String based enumeration type TIME.
|
(package private) static SqlMetaType |
JdbcTypeFactory.TIMESTAMP
Singleton instance of String based enumeration typeTIMESTAMP.
|
(package private) static SqlMetaType |
JdbcTypeFactory.TO_DATE
Singleton instance of String based enumeration type TO_DATE.
|
(package private) static SqlMetaType[] |
JdbcTypeFactory.TYPES
Singleton instances of generic types.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) static Map<Class<?>,SqlMetaType> |
JdbcTypeFactory.CLASS_TO_TYPE_MAP
The immutable map between the Java class types and the internal types.
|
(package private) static Map<String,SqlMetaType> |
JdbcTypeFactory.META_TO_TYPE_MAP
The immutable map between the META types name and the internal types.
|
| Modifier and Type | Method and Description |
|---|---|
SqlMetaType[] |
JdbcTypeFactory.getAllTypes()
Returns the collection of all the META types provided by this factory.
|
SqlMetaType |
JdbcTypeFactory.getDefaultType()
Returns the default META type.
|
SqlMetaType |
JdbcTypeFactory.getEnumIntegerType()
Returns the META type for the enumerations based on Integer internal type.
|
SqlMetaType |
JdbcTypeFactory.getEnumStringType()
Returns the META type for the enumerations based on String internal type.
|
SqlMetaType |
JdbcTypeFactory.getIdentityType()
Returns the META type for an auto-generated identity.
|
SqlMetaType |
JdbcTypeFactory.getMetaType(Class<?> clazz)
Returns the META type, which can be used to handle input/output values of provided Java type.
|
SqlMetaType |
JdbcTypeFactory.getMetaType(String name)
Returns the META type with the provided name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultSqlPlugins.isNotEmpty(SqlRuntimeContext runtimeCtx,
String attributeName,
Object obj,
Object parentObj,
SqlMetaType sqlMetaType,
String inOutModifier,
boolean inSqlSetOrInsert,
Map<String,String> values)
Used for the evaluation of the emptiness in the META SQL fragments.
|
boolean |
IsEmptyPlugin.isNotEmpty(SqlRuntimeContext runtimeCtx,
String attributeName,
Object obj,
Object parentObj,
SqlMetaType sqlMetaType,
String inOutModifier,
boolean inSqlSetOrInsert,
Map<String,String> values)
Used for the evaluation of the emptiness in the META SQL fragments.
|
protected boolean |
DefaultSqlPlugins.isNotEmptyInternal(SqlRuntimeContext runtimeCtx,
String attributeName,
Object obj,
Object parentObj,
SqlMetaType sqlMetaType,
String inOutModifier,
boolean inSqlSetOrInsert,
Map<String,String> values)
Used for the evaluation of the emptiness in the META SQL fragments.
|
boolean |
IsTruePlugin.isTrue(SqlRuntimeContext runtimeCtx,
String attributeName,
Object obj,
Object parentObj,
SqlMetaType sqlMetaType,
String inOutModifier,
Map<String,String> values)
Used for the evaluation of the logical expression in the conditional META SQL fragments.
|
boolean |
DefaultSqlPlugins.isTrue(SqlRuntimeContext runtimeCtx,
String attributeName,
Object obj,
Object parentObj,
SqlMetaType sqlMetaType,
String inOutModifier,
Map<String,String> values)
Used for the evaluation of the logical expression in the conditional META SQL fragments.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SqlTaggedMetaType
The common ancestor of all META types.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SqlBigDecimalType
The META type BIGDECIMAL.
|
class |
SqlBigIntegerType
The META types BIGINTEGER.
|
class |
SqlBlobType
The META type BLOB.
|
class |
SqlBooleanType
The META type BOOLEAN.
|
class |
SqlByteArrayType
The META type BYTEARRAY.
|
class |
SqlByteType
The META type BYTE.
|
class |
SqlCharType
The META type CHARACTER.
|
class |
SqlClobType
The META type CLOB.
|
class |
SqlDateTimeType
The META type DATETIME.
|
class |
SqlDateType
The META type DATE.
|
class |
SqlDefaultType
The default META type for the JDBC stack.
|
class |
SqlDoubleType
The META type DOUBLE.
|
class |
SqlEnumIntegerType
The META type ENUMINTEGER.
|
class |
SqlEnumStringType
The META type ENUMSTRING.
|
class |
SqlFloatType
The META type FLOAT.
|
class |
SqlFromDateType
The META type FROMDATE.
|
class |
SqlIdentityType
The META type for an auto-generated identity.
|
class |
SqlInstantType
The META type LOCALTIME.
|
class |
SqlIntegerType
The META type INTEGER.
|
class |
SqlLocalDateTimeType
The META type LOCALDATETIME.
|
class |
SqlLocalDateType
The META type LOCALDATE.
|
class |
SqlLocalTimeType
The META type LOCALTIME.
|
class |
SqlLongType
The META type LONG.
|
class |
SqlOutValueType
The META type for an auto-generated identity.
|
class |
SqlShortType
The META type SHORT.
|
class |
SqlStringType
The META type STRING.
|
class |
SqlTextType
The META type TEXT.
|
class |
SqlTimestampType
The META type TIMESTAMP.
|
class |
SqlTimeType
The META type TIME.
|
class |
SqlToDateType
The META type TODATE.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<Class<?>,SqlMetaType> |
SqlComposedTypeFactory.classToTypeMap
The map between a Java class type and an internal type.
|
private Map<String,SqlMetaType> |
SqlComposedTypeFactory.metaToTypeMap
The map between a String representation of an internal type and an internal type.
|
| Modifier and Type | Method and Description |
|---|---|
SqlMetaType[] |
SqlTypeFactory.getAllTypes()
Returns the collection of all the META types provided by this factory.
|
SqlMetaType[] |
SqlComposedTypeFactory.getAllTypes()
Returns the collection of all the META types provided by this factory.
|
SqlMetaType |
SqlTypeFactory.getDefaultType()
Returns the default META type.
|
SqlMetaType |
SqlComposedTypeFactory.getDefaultType()
Returns the default META type.
|
SqlMetaType |
SqlTypeFactory.getEnumIntegerType()
Returns the META type for the enumerations based on Integer internal type.
|
SqlMetaType |
SqlComposedTypeFactory.getEnumIntegerType()
Returns the META type for the enumerations based on Integer internal type.
|
SqlMetaType |
SqlTypeFactory.getEnumStringType()
Returns the META type for the enumerations based on String internal type.
|
SqlMetaType |
SqlComposedTypeFactory.getEnumStringType()
Returns the META type for the enumerations based on String internal type.
|
SqlMetaType |
SqlTypeFactory.getIdentityType()
Returns the META type for an auto-generated identity.
|
SqlMetaType |
SqlComposedTypeFactory.getIdentityType()
Returns the META type for an auto-generated identity.
|
SqlMetaType |
SqlTypeFactory.getMetaType(Class<?> clazz)
Returns the META type, which can be used to handle input/output values of provided Java type.
|
SqlMetaType |
SqlComposedTypeFactory.getMetaType(Class<?> clazz)
Returns the META type, which can be used to handle input/output values of provided Java type.
|
SqlMetaType |
SqlTypeFactory.getMetaType(String name)
Returns the META type with the provided name.
|
SqlMetaType |
SqlComposedTypeFactory.getMetaType(String name)
Returns the META type with the provided name.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
SqlMetaType.addScalarEntryLog(org.slf4j.Logger logger,
SqlMetaType sqlMetaType,
SqlTypeFactory typeFactory,
SqlQuery query,
String dbName,
Class<?>... attributeTypes) |
default void |
SqlMetaType.setParameterEntryLog(org.slf4j.Logger logger,
SqlMetaType sqlMetaType,
SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
boolean ingoreError,
Class<?>... inputTypes) |
default void |
SqlMetaType.setResultEntryLog(org.slf4j.Logger logger,
SqlMetaType sqlMetaType,
SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError) |
| Constructor and Description |
|---|
SqlComposedTypeFactory(SqlTypeFactory typeFactory,
List<SqlMetaType> customTypes)
Creates a new instance of this factory.
|
Copyright © 2018. All rights reserved.