Uses of Interface
org.sqlproc.engine.type.SqlMetaType
-
Packages that use SqlMetaType 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. -
-
Uses of SqlMetaType in org.sqlproc.engine
Fields in org.sqlproc.engine with type parameters of type SqlMetaType Modifier and Type Field Description private List<SqlMetaType>SqlDefaultFactory. customTypesThe custom META types.Methods in org.sqlproc.engine that return types with arguments of type SqlMetaType Modifier and Type Method Description List<SqlMetaType>SqlDefaultFactory. getCustomTypes()Returns the custom META types.Methods in org.sqlproc.engine with parameters of type SqlMetaType Modifier and Type Method Description voidSqlDefaultFactory. addCustomType(SqlMetaType customType)Adds a new custom META type.voidSqlDefaultFactory. setCustomTypes(SqlMetaType... customTypes)Sets the custom META types.Method parameters in org.sqlproc.engine with type arguments of type SqlMetaType Modifier and Type Method Description voidSqlDefaultFactory. setCustomTypes(List<SqlMetaType> customTypes)Sets the custom META types.Constructor parameters in org.sqlproc.engine with type arguments of type SqlMetaType Constructor 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, 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. -
Uses of SqlMetaType in org.sqlproc.engine.impl
Fields in org.sqlproc.engine.impl declared as SqlMetaType Modifier and Type Field Description private SqlMetaTypeSqlType. metaTypeThe internal META type, which means special processing of the input/output value.Methods in org.sqlproc.engine.impl that return SqlMetaType Modifier and Type Method Description (package private) SqlMetaTypeSqlType. getMetaType(SqlProcessContext ctx)Returns the internal type.Methods in org.sqlproc.engine.impl with parameters of type SqlMetaType Modifier and Type Method Description (package private) voidSqlMappingItem. setMetaType(String metaTypeName, SqlMetaType metaType)Assigns the internal type.(package private) voidSqlMetaConst. setMetaType(String metaTypeName, SqlMetaType metaType)Sets the internal type of this input value.(package private) voidSqlMetaIdent. setMetaType(String metaTypeName, SqlMetaType metaType)Sets the internal type of this input value.Constructors in org.sqlproc.engine.impl with parameters of type SqlMetaType Constructor Description SqlType(String metaTypeName, SqlMetaType metaType)Creates a new instance with specified internal type. -
Uses of SqlMetaType in org.sqlproc.engine.jdbc.type
Classes in org.sqlproc.engine.jdbc.type that implement SqlMetaType Modifier and Type Class Description classJdbcBigDecimalTypeThe JDBC META type BIGDECIMAL.classJdbcBigIntegerTypeThe JDBC META type BIGINTEGER.classJdbcBlobTypeThe SQL META Types for BLOB.classJdbcBooleanTypeThe JDBC META type BOOLEAN.classJdbcByteArrayTypeThe JDBC META type BYTEARRAY.classJdbcByteArrayWrapperTypeTThe JDBC META type BYTEARRAY.classJdbcByteTypeThe JDBC META type BYTE.classJdbcCharTypeThe JDBC META type CHARACTER.classJdbcClobTypeThe JDBC META type CLOB.classJdbcDateTimeTypeThe JDBC META type DATETIME.classJdbcDateTypeThe JDBC META type DATE.classJdbcDefaultTypeThe default META type for the JDBC stack.classJdbcDoubleTypeThe JDBC META type DOUBLE.classJdbcEnumIntegerTypeThe JDBC META type ENUMINTEGER.classJdbcEnumStringTypeThe JDBC META type ENUMSTRING.classJdbcFloatTypeThe JDBC META type FLOAT.classJdbcFromDateTypeThe JDBC META type FROMDATE.classJdbcInstantTypeThe JDBC META type INSTANT.classJdbcIntegerTypeThe JDBC META type INTEGER.classJdbcLocalDateTimeTypeThe JDBC META type LOCALDATETIME.classJdbcLocalDateTypeThe JDBC META type LOCALDATE.classJdbcLocalTimeTypeThe JDBC META type LOCALTIME.classJdbcLongTypeThe JDBC META type LONG.classJdbcOracleCursorTypeThe JDBC META type ORACLE_CURSOR (from Oracle jdbc driver).classJdbcOtherTypeThe JDBC META type OTHER.classJdbcShortTypeThe JDBC META type SHORT.classJdbcStringTypeThe JDBC META type STRING.classJdbcTextTypeThe JDBC META type TEXT.classJdbcTimestampTypeThe JDBC META type TIMESTAMP.classJdbcTimeTypeThe JDBC META type TIME.classJdbcToDateTypeThe JDBC META type TODATE.Fields in org.sqlproc.engine.jdbc.type declared as SqlMetaType Modifier and Type Field Description (package private) static SqlMetaTypeJdbcTypeFactory. BIG_DECIMALSingleton instance of String based enumeration type BIG_DECIMAL.(package private) static SqlMetaTypeJdbcTypeFactory. BIG_INTEGERSingleton instance of String based enumeration type BIG_INTEGER.(package private) static SqlMetaTypeJdbcTypeFactory. BLOBSingleton instance of String based enumeration type BLOB.(package private) static SqlMetaTypeJdbcTypeFactory. BOOLEANSingleton instance of String based enumeration type BOOLEAN.(package private) static SqlMetaTypeJdbcTypeFactory. BYTESingleton instance of String based enumeration type BYTE.(package private) static SqlMetaTypeJdbcTypeFactory. BYTE_ARRAYSingleton instance of String based enumeration type BYTE_ARRAY.(package private) static SqlMetaTypeJdbcTypeFactory. BYTE_ARRAY_WRAPPERSingleton instance of String based enumeration type BYTE_ARRAY_WRAPPER.(package private) static SqlMetaTypeJdbcTypeFactory. CHARSingleton instance of String based enumeration type CHAR.(package private) static SqlMetaTypeJdbcTypeFactory. CLOBSingleton instance of String based enumeration type CLOB.(package private) static SqlMetaTypeJdbcTypeFactory. DATESingleton instance of String based enumeration type DATE.(package private) static SqlMetaTypeJdbcTypeFactory. DATE_TIMESingleton instance of String based enumeration type DATE_TIME.(package private) static SqlMetaTypeJdbcTypeFactory. DEFAULTSingleton instance of default type.(package private) static SqlMetaTypeJdbcTypeFactory. DOUBLESingleton instance of String based enumeration type DOUBLE.(package private) static SqlMetaTypeJdbcTypeFactory. ENUM_INTSingleton instance of Integer based enumeration type ENUM_INT.(package private) static SqlMetaTypeJdbcTypeFactory. ENUM_STRINGSingleton instance of String based enumeration type ENUM_STRING.(package private) static SqlMetaTypeJdbcTypeFactory. FLOATSingleton instance of String based enumeration type FLOAT.(package private) static SqlMetaTypeJdbcTypeFactory. FROM_DATESingleton instance of String based enumeration type FROM_DATE.(package private) static SqlMetaTypeJdbcTypeFactory. IDENTITYSingleton instance of auto-generated identity type IDENTITY.(package private) static SqlMetaTypeJdbcTypeFactory. INSTANTSingleton instance of String based enumeration type INSTANT.(package private) static SqlMetaTypeJdbcTypeFactory. INTEGERSingleton instance of String based enumeration type INTEGER.(package private) static SqlMetaTypeJdbcTypeFactory. LOCAL_DATESingleton instance of String based enumeration type LOCAL_DATE.(package private) static SqlMetaTypeJdbcTypeFactory. LOCAL_DATE_TIMESingleton instance of String based enumeration type LOCAL_DATE_TIME.(package private) static SqlMetaTypeJdbcTypeFactory. LOCAL_TIMESingleton instance of String based enumeration type LOCAL_TIME.(package private) static SqlMetaTypeJdbcTypeFactory. LONGSingleton instance of String based enumeration type LONG.(package private) static SqlMetaTypeJdbcTypeFactory. ORACLE_CURSORSingleton instance of auto-generated identity type ORACLE_CURSOR.(package private) static SqlMetaTypeJdbcTypeFactory. OTHERSingleton instance of String based enumeration type OTHER.(package private) static SqlMetaTypeJdbcTypeFactory. SHORTSingleton instance of String based enumeration type SHORT.(package private) static SqlMetaTypeJdbcTypeFactory. STRINGSingleton instance of String based enumeration type STRING.(package private) static SqlMetaTypeJdbcTypeFactory. TEXTSingleton instance of String based enumeration type TEXT.(package private) static SqlMetaTypeJdbcTypeFactory. TIMESingleton instance of String based enumeration type TIME.(package private) static SqlMetaTypeJdbcTypeFactory. TIMESTAMPSingleton instance of String based enumeration typeTIMESTAMP.(package private) static SqlMetaTypeJdbcTypeFactory. TO_DATESingleton instance of String based enumeration type TO_DATE.(package private) static SqlMetaType[]JdbcTypeFactory. TYPESSingleton instances of generic types.Fields in org.sqlproc.engine.jdbc.type with type parameters of type SqlMetaType Modifier and Type Field Description (package private) static Map<Class<?>,SqlMetaType>JdbcTypeFactory. CLASS_TO_TYPE_MAPThe immutable map between the Java class types and the internal types.(package private) static Map<String,SqlMetaType>JdbcTypeFactory. META_TO_TYPE_MAPThe immutable map between the META types name and the internal types.Methods in org.sqlproc.engine.jdbc.type that return SqlMetaType Modifier and Type Method Description SqlMetaType[]JdbcTypeFactory. getAllTypes()Returns the collection of all the META types provided by this factory.SqlMetaTypeJdbcTypeFactory. getDefaultType()Returns the default META type.SqlMetaTypeJdbcTypeFactory. getEnumIntegerType()Returns the META type for the enumerations based on Integer internal type.SqlMetaTypeJdbcTypeFactory. getEnumStringType()Returns the META type for the enumerations based on String internal type.SqlMetaTypeJdbcTypeFactory. getIdentityType()Returns the META type for an auto-generated identity.SqlMetaTypeJdbcTypeFactory. getMetaType(Class<?> clazz)Returns the META type, which can be used to handle input/output values of provided Java type.SqlMetaTypeJdbcTypeFactory. getMetaType(String name)Returns the META type with the provided name. -
Uses of SqlMetaType in org.sqlproc.engine.plugin
Methods in org.sqlproc.engine.plugin with parameters of type SqlMetaType Modifier and Type Method Description booleanDefaultSqlPlugins. 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.booleanIsEmptyPlugin. 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 booleanDefaultSqlPlugins. 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.booleanDefaultSqlPlugins. 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.booleanIsTruePlugin. 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. -
Uses of SqlMetaType in org.sqlproc.engine.type
Subinterfaces of SqlMetaType in org.sqlproc.engine.type Modifier and Type Interface Description interfaceSqlTaggedMetaTypeThe common ancestor of all META types.Classes in org.sqlproc.engine.type that implement SqlMetaType Modifier and Type Class Description classSqlBigDecimalTypeThe META type BIGDECIMAL.classSqlBigIntegerTypeThe META types BIGINTEGER.classSqlBlobTypeThe META type BLOB.classSqlBooleanTypeThe META type BOOLEAN.classSqlByteArrayTypeThe META type BYTEARRAY.classSqlByteTypeThe META type BYTE.classSqlCharTypeThe META type CHARACTER.classSqlClobTypeThe META type CLOB.classSqlDateTimeTypeThe META type DATETIME.classSqlDateTypeThe META type DATE.classSqlDefaultTypeThe default META type for the JDBC stack.classSqlDoubleTypeThe META type DOUBLE.classSqlEnumIntegerTypeThe META type ENUMINTEGER.classSqlEnumStringTypeThe META type ENUMSTRING.classSqlFloatTypeThe META type FLOAT.classSqlFromDateTypeThe META type FROMDATE.classSqlIdentityTypeThe META type for an auto-generated identity.classSqlInstantTypeThe META type LOCALTIME.classSqlIntegerTypeThe META type INTEGER.classSqlLocalDateTimeTypeThe META type LOCALDATETIME.classSqlLocalDateTypeThe META type LOCALDATE.classSqlLocalTimeTypeThe META type LOCALTIME.classSqlLongTypeThe META type LONG.classSqlOutValueTypeThe META type for an auto-generated identity.classSqlShortTypeThe META type SHORT.classSqlStringTypeThe META type STRING.classSqlTextTypeThe META type TEXT.classSqlTimestampTypeThe META type TIMESTAMP.classSqlTimeTypeThe META type TIME.classSqlToDateTypeThe META type TODATE.Fields in org.sqlproc.engine.type with type parameters of type SqlMetaType Modifier and Type Field Description private Map<Class<?>,SqlMetaType>SqlComposedTypeFactory. classToTypeMapThe map between a Java class type and an internal type.private Map<String,SqlMetaType>SqlComposedTypeFactory. metaToTypeMapThe map between a String representation of an internal type and an internal type.Methods in org.sqlproc.engine.type that return SqlMetaType Modifier and Type Method Description SqlMetaType[]SqlComposedTypeFactory. getAllTypes()Returns the collection of all the META types provided by this factory.SqlMetaType[]SqlTypeFactory. getAllTypes()Returns the collection of all the META types provided by this factory.SqlMetaTypeSqlComposedTypeFactory. getDefaultType()Returns the default META type.SqlMetaTypeSqlTypeFactory. getDefaultType()Returns the default META type.SqlMetaTypeSqlComposedTypeFactory. getEnumIntegerType()Returns the META type for the enumerations based on Integer internal type.SqlMetaTypeSqlTypeFactory. getEnumIntegerType()Returns the META type for the enumerations based on Integer internal type.SqlMetaTypeSqlComposedTypeFactory. getEnumStringType()Returns the META type for the enumerations based on String internal type.SqlMetaTypeSqlTypeFactory. getEnumStringType()Returns the META type for the enumerations based on String internal type.SqlMetaTypeSqlComposedTypeFactory. getIdentityType()Returns the META type for an auto-generated identity.SqlMetaTypeSqlTypeFactory. getIdentityType()Returns the META type for an auto-generated identity.SqlMetaTypeSqlComposedTypeFactory. getMetaType(Class<?> clazz)Returns the META type, which can be used to handle input/output values of provided Java type.SqlMetaTypeSqlComposedTypeFactory. getMetaType(String name)Returns the META type with the provided name.SqlMetaTypeSqlTypeFactory. getMetaType(Class<?> clazz)Returns the META type, which can be used to handle input/output values of provided Java type.SqlMetaTypeSqlTypeFactory. getMetaType(String name)Returns the META type with the provided name.Methods in org.sqlproc.engine.type with parameters of type SqlMetaType Modifier and Type Method Description default voidSqlMetaType. addScalarEntryLog(org.slf4j.Logger logger, SqlMetaType sqlMetaType, SqlTypeFactory typeFactory, SqlQuery query, String dbName, Class<?>... attributeTypes)default voidSqlMetaType. setParameterEntryLog(org.slf4j.Logger logger, SqlMetaType sqlMetaType, SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes)default voidSqlMetaType. setResultEntryLog(org.slf4j.Logger logger, SqlMetaType sqlMetaType, SqlRuntimeContext runtimeCtx, Object resultInstance, String attributeName, Object resultValue, boolean ingoreError)Constructor parameters in org.sqlproc.engine.type with type arguments of type SqlMetaType Constructor Description SqlComposedTypeFactory(SqlTypeFactory typeFactory, List<SqlMetaType> customTypes)Creates a new instance of this factory.
-