A B C D E F G H I J L M N O P Q R S T U V W

A

addColumn(ColumnModel) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Add a ColumnModel
addColumn(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Add a column with given columnName to tableModel
addColumnString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
addColumnSuffixString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
addFKeyRefPkeyString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
addForeignKeyConstraintString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
addGenerator(IdGenerator) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Add a "create table..." DDL to generate ID, similar like JPA's TableGen
addObjectToArray(A[], O) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Append the given object to the given array, returning a new array consisting of the input array contents plus the given object.
addPrimaryKeyConstraintString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
addResourcePathToPackagePath(Class<?>, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return a path suitable for use with ClassLoader.getResource (also suitable for use with Class.getResource by prepending a slash ('/') to the return value).
addStringToArray(String[], String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Append the given String to the given String array, returning a new array consisting of the input array contents plus the given String.
appendArray(Object[], Object) - Static method in class com.github.drinkjava2.jdialects.ArrayUtils
Append an Object at end of array
appendStrArray(String[], String) - Static method in class com.github.drinkjava2.jdialects.ArrayUtils
Append a String at end of String array
applyRelativePath(String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Apply the given relative path to the given Java resource path, assuming standard Java folder separation (i.e.
ARRAY_SUFFIX - Static variable in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Suffix for array class names: "[]"
arraysEqual(Object[], Object[]) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Compare 2 array
arrayToCommaDelimitedString(Object[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Convert a String array into a comma delimited String (i.e., CSV).
arrayToDelimitedString(Object[], String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Convert a String array into a delimited String (e.g.
arrayToList(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Convert the supplied array into a List.
arrayToString(Object[]) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Change a Object array to "obj1,obj2...,objn" String
arrayToString(Object[], String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Change a Object array to connected string by given seperateString
arrayToStringButSkipFirst(Object[]) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Change a Object array to "obj1,obj2...,objn" String
ArrayUtils - Class in com.github.drinkjava2.jdialects
Array Utilities usually used inside of framework
ArrayUtils() - Constructor for class com.github.drinkjava2.jdialects.ArrayUtils
 
Assert - Class in com.github.drinkjava2.jdialects.springsrc.utils
Assertion utility class that assists in validating arguments.
Assert() - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.Assert
 
assureNotEmpty(String, String...) - Static method in exception com.github.drinkjava2.jdialects.DialectException
 
assureNotNull(Object, String...) - Static method in exception com.github.drinkjava2.jdialects.DialectException
 
AutoId - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
A shortcut annotation equal to @GenertedValue(strategy=GenerationType.AUTO)
autoId() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
Bind column to a global Auto Id generator, can be Sequence or a Table
AutoIdGenerator - Class in com.github.drinkjava2.jdialects.id
AutoGenerator will depends database's id generator mechanism like MySql's Identity, Oracle's Sequence...
AutoIdGenerator() - Constructor for class com.github.drinkjava2.jdialects.id.AutoIdGenerator
 

B

BIGDECIMAL(Integer, Integer) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
BIGINT() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
BIGINT - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
BINARY(Integer...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
BINARY - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
bindGlobalModel(Class<?>, TableModel) - Static method in class com.github.drinkjava2.jdialects.TableModelUtils
This method bind a tableModel to a entity class, this is a global setting
BIT() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
BIT - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
BLOB(Integer...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
BLOB - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
BOOLEAN() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
BOOLEAN - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 

C

cacheReadWriteMethodsAndBoxField(Class<?>) - Static method in class com.github.drinkjava2.jdialects.ClassCacheUtils
 
calculateShift(int, int) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
Calculate a shift value that can be used to create a power-of-two value between the specified maximum and minimum values.
canMapToSqlType(Class<?>) - Static method in class com.github.drinkjava2.jdialects.TypeUtils
Check if a class type can map to a SQL type
capitalize(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Capitalize a String, changing the first letter to upper case as per Character.toUpperCase(char).
caseInsensitiveValueOf(E[], String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Case insensitive alternative to Enum.valueOf(Class, String).
CGLIB_CLASS_SEPARATOR - Static variable in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
The CGLIB class separator: "$$"
CHAR(Integer...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
CHAR - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
check(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
Add a column check DDL piece if support
check(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Add the table check, note: not all database support table check
checkAndInsertToNotRepeatSeq(Set<SequenceIdGenerator>, SequenceIdGenerator) - Static method in class com.github.drinkjava2.jdialects.DDLCreateUtils
if name not found, add
If name same, but other fields different, throw exception
If name same, and other field same, ignore
checkAndInsertToNotRepeatTable(Set<TableIdGenerator>, TableIdGenerator) - Static method in class com.github.drinkjava2.jdialects.DDLCreateUtils
if name not found, add
If name same, but other fields different, throw exception
If name same, and other field same, ignore
checkClassExist(String) - Static method in class com.github.drinkjava2.jdialects.ClassCacheUtils
Check class if exist, if exit return it, otherwise return null
checkMethodExist(Class<?>, String) - Static method in class com.github.drinkjava2.jdialects.ClassCacheUtils
Check if a unique method name exists in class, if exist return the method, otherwise return null
checkNotEmptyReservedWords(String, String, String) - Method in enum com.github.drinkjava2.jdialects.Dialect
Check if a word is current dialect or ANSI-SQL's reserved word, if yes throw exception.
checkReadOnly() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
checkReadOnly() - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
checkReadOnly() - Method in class com.github.drinkjava2.jdialects.model.IndexModel
 
checkReadOnly() - Method in class com.github.drinkjava2.jdialects.model.UniqueModel
 
checkReservedWords(String...) - Method in enum com.github.drinkjava2.jdialects.Dialect
Check if a word or word array include current dialect or ANSI-SQL's reserved word, if yes throw exception.
CLASS_FILE_SUFFIX - Static variable in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
The ".class" file suffix
ClassCacheUtils - Class in com.github.drinkjava2.jdialects
ClassCacheUtils is utility class to cache some info of classes read and write method
ClassCacheUtils() - Constructor for class com.github.drinkjava2.jdialects.ClassCacheUtils
 
ClassCacheUtils.ClassOrMethodNotExist - Class in com.github.drinkjava2.jdialects
 
ClassCacheUtils.ClassOrMethodNotExist() - Constructor for class com.github.drinkjava2.jdialects.ClassCacheUtils.ClassOrMethodNotExist
 
classExistCache - Static variable in class com.github.drinkjava2.jdialects.ClassCacheUtils
 
classNamesToString(Class<?>...) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Build a String that consists of the names of the classes/interfaces in the given array.
classNamesToString(Collection<Class<?>>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Build a String that consists of the names of the classes/interfaces in the given collection.
classPackageAsResourcePath(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Given an input class object, return a string which consists of the class's package name as a pathname, i.e., all dots ('.') are replaced by slashes ('/').
classReadMethods - Static variable in class com.github.drinkjava2.jdialects.ClassCacheUtils
 
ClassUtils - Class in com.github.drinkjava2.jdialects.springsrc.utils
Miscellaneous class utility methods.
ClassUtils() - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
 
classWriteMethods - Static variable in class com.github.drinkjava2.jdialects.ClassCacheUtils
 
cleanPath(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Normalize the path by suppressing sequences like "path/.." and inner simple dots.
clear() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 
clear() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Segment
Clear all items from this segment.
clearCache() - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Clear the internal method/field cache.
CLOB(Integer...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
CLOB - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
collectionToCommaDelimitedString(Collection<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Convert a Collection into a delimited String (e.g., CSV).
collectionToDelimitedString(Collection<?>, String, String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Convert a Collection to a delimited String (e.g.
collectionToDelimitedString(Collection<?>, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Convert a Collection into a delimited String (e.g.
CollectionUtils - Class in com.github.drinkjava2.jdialects.springsrc.utils
Miscellaneous collection utility methods.
CollectionUtils() - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
 
Column - Annotation Type in com.github.drinkjava2.jdialects.annotation.jpa
Specifies the mapped column for a persistent property or field.
column(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
find column in tableModel by given columnName, if not found, add a new column with columnName
columnComment - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
ColumnModel - Class in com.github.drinkjava2.jdialects.model
A ColumnModel definition represents a platform dependent column in a Database Table, from 1.0.5 this class name changed from "Column" to "ColumnModel" to avoid naming conflict to JPA's "@Column" annotation
ColumnModel(String) - Constructor for class com.github.drinkjava2.jdialects.model.ColumnModel
 
columns(String...) - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
columns(String...) - Method in class com.github.drinkjava2.jdialects.model.IndexModel
 
columns(String...) - Method in class com.github.drinkjava2.jdialects.model.UniqueModel
 
com.github.drinkjava2.jdbpro - package com.github.drinkjava2.jdbpro
 
com.github.drinkjava2.jdialects - package com.github.drinkjava2.jdialects
 
com.github.drinkjava2.jdialects.annotation.jdia - package com.github.drinkjava2.jdialects.annotation.jdia
 
com.github.drinkjava2.jdialects.annotation.jpa - package com.github.drinkjava2.jdialects.annotation.jpa
 
com.github.drinkjava2.jdialects.id - package com.github.drinkjava2.jdialects.id
 
com.github.drinkjava2.jdialects.model - package com.github.drinkjava2.jdialects.model
 
com.github.drinkjava2.jdialects.springsrc - package com.github.drinkjava2.jdialects.springsrc
 
com.github.drinkjava2.jdialects.springsrc.utils - package com.github.drinkjava2.jdialects.springsrc.utils
 
commaDelimitedListToSet(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Convert a comma delimited list (e.g., a row from a CSV file) into a set.
commaDelimitedListToStringArray(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Convert a comma delimited list (e.g., a row from a CSV file) into an array of strings.
comment(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
Add comments at end of column definition DDL
comment(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Add the table comment, note: not all database support table comment
CommonDialect - Interface in com.github.drinkjava2.jdialects
Interface for Dialect, usually used to eliminate POM dependency for other projects
concatenateStringArrays(String[], String[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Concatenate the given String arrays into one, with overlapping array elements included twice.
ConcurrentReferenceHashMap<K,V> - Class in com.github.drinkjava2.jdialects.springsrc.utils
A ConcurrentHashMap that uses soft or weak references for both keys and values.
ConcurrentReferenceHashMap() - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap(int) - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap(int, float) - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap(int, int) - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap(int, ConcurrentReferenceHashMap.ReferenceType) - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap(int, float, int) - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap(int, float, int, ConcurrentReferenceHashMap.ReferenceType) - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap.Entry<K,V> - Class in com.github.drinkjava2.jdialects.springsrc.utils
A single map entry.
ConcurrentReferenceHashMap.Entry(K, V) - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Entry
 
ConcurrentReferenceHashMap.Reference<K,V> - Interface in com.github.drinkjava2.jdialects.springsrc.utils
A reference to an ConcurrentReferenceHashMap.Entry contained in the map.
ConcurrentReferenceHashMap.ReferenceManager - Class in com.github.drinkjava2.jdialects.springsrc.utils
Strategy class used to manage ConcurrentReferenceHashMap.References.
ConcurrentReferenceHashMap.ReferenceManager() - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.ReferenceManager
 
ConcurrentReferenceHashMap.ReferenceType - Enum in com.github.drinkjava2.jdialects.springsrc.utils
Various reference types supported by this map.
ConcurrentReferenceHashMap.Restructure - Enum in com.github.drinkjava2.jdialects.springsrc.utils
The types of restructuring that can be performed.
ConcurrentReferenceHashMap.Segment - Class in com.github.drinkjava2.jdialects.springsrc.utils
A single segment used to divide the map to allow better concurrent performance.
ConcurrentReferenceHashMap.Segment(int) - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Segment
 
contains(Iterator<?>, Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Check whether the given Iterator contains the given element.
contains(Enumeration<?>, Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Check whether the given Enumeration contains the given element.
containsAny(Collection<?>, Collection<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Return true if any element in 'candidates' is contained in 'source'; otherwise returns false.
containsConstant(Enum<?>[], String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Check whether the given array of enum constants contains a constant with the given name, ignoring case when determining a match.
containsConstant(Enum<?>[], String, boolean) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Check whether the given array of enum constants contains a constant with the given name.
containsElement(Object[], Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Check whether the given array contains the given element.
containsIgnoreCase(String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Find if exist searchStr in str ignore case
containsInstance(Collection<?>, Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Check whether the given Collection contains the given element instance.
containsKey(Object) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 
containsWhitespace(CharSequence) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Check whether the given CharSequence contains any whitespace characters.
containsWhitespace(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Check whether the given String contains any whitespace characters.
containsWhitespace(CharSequence) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Check whether the given CharSequence contains any whitespace characters.
containsWhitespace(String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Check whether the given String contains any whitespace characters.
convertClassNameToResourcePath(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Convert a "."-based fully qualified class name to a "/"-based resource path.
convertResourcePathToClassName(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Convert a "/"-based resource path to a "."-based fully qualified class name.
COPYABLE_FIELDS - Static variable in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Pre-built FieldFilter that matches all non-static, non-final fields.
countMatches(CharSequence, char) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Counts how many times the char appears in the given string.
countOccurrencesOf(String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Count the occurrences of the substring sub in string str.
createCatalogCommand - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
createCompositeInterface(Class<?>[], ClassLoader) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Create a composite interface Class for the given interfaces, implementing the given interfaces in one single Class.
createMultisetTableString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
createNewEntity(Class<?>) - Static method in class com.github.drinkjava2.jdialects.ClassCacheUtils
Create a new Object by given entityClass, if any exception happen, throw DialectException
createPooledSequenceStrings - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
createReference(ConcurrentReferenceHashMap.Entry<K, V>, int, ConcurrentReferenceHashMap.Reference<K, V>) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.ReferenceManager
Factory method used to create a new ConcurrentReferenceHashMap.Reference.
createReferenceManager() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
Factory method that returns the ConcurrentReferenceHashMap.ReferenceManager.
createSchemaCommand - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
createSequenceStrings - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
createTableString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
currentSchemaCommand - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 

D

DATE() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
DATE - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
db2JavaSrcFiles(DataSource, Dialect, boolean, boolean, String, String) - Static method in class com.github.drinkjava2.jdialects.TableModelUtils
Read database structure and write them to Java entity class source code
db2Models(Connection, Dialect) - Static method in class com.github.drinkjava2.jdialects.TableModelUtils
Convert database metaData to TableModels, note:
1)This method does not close connection, do not forgot close it later
2)This method does not read sequence, index, unique constraints
db2Models(Connection, Dialect) - Static method in class com.github.drinkjava2.jdialects.TableModelUtilsOfDb
Convert JDBC connected database structure to TableModels, note:
1)This method does not close connection
2)This method does not support sequence, foreign keys, primary keys..., but will improve later.
ddl(Boolean) - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
DDLCreateUtils - Class in com.github.drinkjava2.jdialects
To transfer platform-independent model to create DDL String array
DDLCreateUtils() - Constructor for class com.github.drinkjava2.jdialects.DDLCreateUtils
 
DDLDropUtils - Class in com.github.drinkjava2.jdialects
To transfer platform-independent model to drop DDL String array
DDLDropUtils() - Constructor for class com.github.drinkjava2.jdialects.DDLDropUtils
 
DDLFeatures - Class in com.github.drinkjava2.jdialects
DDL about features, this file is generated by source code generator (see jDiagen project) from Hibernate5.2.9 final
DDLFeatures() - Constructor for class com.github.drinkjava2.jdialects.DDLFeatures
 
ddlFeatures - Variable in enum com.github.drinkjava2.jdialects.Dialect
 
DDLFormatter - Class in com.github.drinkjava2.jdialects
 
DDLFormatter() - Constructor for class com.github.drinkjava2.jdialects.DDLFormatter
 
DebugUtils - Class in com.github.drinkjava2.jdialects
DebugUtils only for debug, will delete it
DebugUtils() - Constructor for class com.github.drinkjava2.jdialects.DebugUtils
 
DECIMAL(Integer...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
DECIMAL - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
declaresException(Method, Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Determine whether the given method explicitly declares the given exception or one of its superclasses, which means that an exception of that type can be propagated as-is within a reflective invocation.
defaultValue(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
Default value for column's definition DDL
delete(String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Delete all occurrences of the given substring.
deleteAny(String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Delete any character in a given String.
deleteItem(DialectFunctionTranslator.DialectSqlItem) - Static method in class com.github.drinkjava2.jdialects.DialectFunctionTranslator
 
deleteItem(DialectFunctionTranslator.DialectSqlItem, DialectFunctionTranslator.DialectSqlItem) - Static method in class com.github.drinkjava2.jdialects.DialectFunctionTranslator
 
delimitedListToStringArray(String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Take a String that is a delimited list and convert it into a String array.
delimitedListToStringArray(String, String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Take a String that is a delimited list and convert it into a String array.
dependOnAutoIdGenerator() - Method in class com.github.drinkjava2.jdialects.id.AutoIdGenerator
 
dependOnAutoIdGenerator() - Method in class com.github.drinkjava2.jdialects.id.IdentityIdGenerator
 
dependOnAutoIdGenerator() - Method in interface com.github.drinkjava2.jdialects.id.IdGenerator
If depends on AutoIdGenerator, for example SortedUUIDGenerator depends on AutoIdGenerator to create start numbers
dependOnAutoIdGenerator() - Method in class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
dependOnAutoIdGenerator() - Method in class com.github.drinkjava2.jdialects.id.SnowflakeGenerator
 
dependOnAutoIdGenerator() - Method in class com.github.drinkjava2.jdialects.id.SortedUUIDGenerator
 
dependOnAutoIdGenerator() - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
dependOnAutoIdGenerator() - Method in class com.github.drinkjava2.jdialects.id.TimeStampIdGenerator
 
dependOnAutoIdGenerator() - Method in class com.github.drinkjava2.jdialects.id.UUID25Generator
 
dependOnAutoIdGenerator() - Method in class com.github.drinkjava2.jdialects.id.UUID32Generator
 
dependOnAutoIdGenerator() - Method in class com.github.drinkjava2.jdialects.id.UUID36Generator
 
dependOnAutoIdGenerator() - Method in class com.github.drinkjava2.jdialects.id.UUIDAnyGenerator
 
determineCommonAncestor(Class<?>, Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Determine the common ancestor of the given classes, if any.
Dialect - Enum in com.github.drinkjava2.jdialects
jDialects is a small Java tool collect all databases' dialect, most data are extracted from Hibernate, usually jDialects is used for build pagination SQL and DDL SQL for cross-databases developing.
DialectException - Exception in com.github.drinkjava2.jdialects
DialectException for jDialects
DialectException() - Constructor for exception com.github.drinkjava2.jdialects.DialectException
 
DialectException(String) - Constructor for exception com.github.drinkjava2.jdialects.DialectException
 
DialectException(Throwable) - Constructor for exception com.github.drinkjava2.jdialects.DialectException
 
DialectException(String, Throwable) - Constructor for exception com.github.drinkjava2.jdialects.DialectException
 
DialectFunctionTemplate - Class in com.github.drinkjava2.jdialects
Initialise function templates, this file is generated by source code generator (see jDiagen project) by extracting from Hibernate5.2.9, and delete some not common functions (<20% percent dialect support), do not modify this file manually
DialectFunctionTemplate() - Constructor for class com.github.drinkjava2.jdialects.DialectFunctionTemplate
 
DialectFunctionTranslator - Class in com.github.drinkjava2.jdialects
TranslateUtil parse a Sql, translate all universal functions like fn_sin() to native SQL functions like sin()
DialectFunctionTranslator() - Constructor for class com.github.drinkjava2.jdialects.DialectFunctionTranslator
Register functions names need translated, values is percentage of dialects support this function, value not used for this project
DialectFunctionUtils - Class in com.github.drinkjava2.jdialects
Dialect function Utils, detail see render method
DialectFunctionUtils() - Constructor for class com.github.drinkjava2.jdialects.DialectFunctionUtils
 
DialectLogger - Class in com.github.drinkjava2.jdialects
For logger output, to avoid logger jar version conflict, default use JDK log, if found commons log, use it, if found Log4j use it..., by this way this project has no dependency to any logger jar.
DialectLogger(Class<?>) - Constructor for class com.github.drinkjava2.jdialects.DialectLogger
 
DialectPaginationTemplate - Class in com.github.drinkjava2.jdialects
Initialize pagination templates, this file is generated by source code generate tool by extracting from Hibernate 5.3.6.final
DialectPaginationTemplate() - Constructor for class com.github.drinkjava2.jdialects.DialectPaginationTemplate
 
DialectTypeMappingTemplate - Class in com.github.drinkjava2.jdialects
Initialize type mapping, this file is generated by source code generator by extracting from Hibernate5.2.9
DialectTypeMappingTemplate() - Constructor for class com.github.drinkjava2.jdialects.DialectTypeMappingTemplate
 
dialectTypeToJavaType(Type) - Static method in class com.github.drinkjava2.jdialects.TypeUtils
 
doesNotContain(String, String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert that the given text does not contain the given substring.
doesNotContain(String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Deprecated. as of 4.3.7, in favor of doesNotContain(String, String, String)
doTask(int, Object, ConcurrentReferenceHashMap<K, V>.Task<T>) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Segment
Apply an update operation to this segment.
doTranslate(Dialect, String) - Method in class com.github.drinkjava2.jdialects.DialectFunctionTranslator
Translate universal SQL to native SQL, all #xxx() format universal SQL functions will be translate to xxx() native SQL functions
DOUBLE() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
DOUBLE - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
doWith(Field) - Method in interface com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils.FieldCallback
Perform an operation using the given field.
doWith(Method) - Method in interface com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils.MethodCallback
Perform an operation using the given method.
doWithFields(Class<?>, ReflectionUtils.FieldCallback) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
doWithFields(Class<?>, ReflectionUtils.FieldCallback, ReflectionUtils.FieldFilter) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
doWithLocalFields(Class<?>, ReflectionUtils.FieldCallback) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
doWithLocalMethods(Class<?>, ReflectionUtils.MethodCallback) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Perform the given callback operation on all matching methods of the given class, as locally declared or equivalent thereof (such as default methods on Java 8 based interfaces that the given class implements).
doWithMethods(Class<?>, ReflectionUtils.MethodCallback) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Perform the given callback operation on all matching methods of the given class and superclasses.
doWithMethods(Class<?>, ReflectionUtils.MethodCallback, ReflectionUtils.MethodFilter) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Perform the given callback operation on all matching methods of the given class and superclasses (or given interface and super-interfaces).
dropCatalogCommand - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
dropFKeyDDL(String, String) - Method in enum com.github.drinkjava2.jdialects.Dialect
Build a "alter table tableName drop foreign key fkeyName " like DDL String according this dialect
dropForeignKeyString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
dropSchemaCommand - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
dropSequenceDDL(String) - Method in enum com.github.drinkjava2.jdialects.Dialect
Build a "drop sequence xxxx " like DDL String according this dialect
dropSequenceStrings - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
dropTableDDL(String) - Method in enum com.github.drinkjava2.jdialects.Dialect
Build a "drop table xxxx " like DDL String according this dialect
dropTableString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 

E

eatException(Exception) - Static method in exception com.github.drinkjava2.jdialects.DialectException
 
endsWithIgnoreCase(String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Test if the given String ends with the specified suffix, ignoring upper/lower case.
engineTail(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
If support engine like MySQL or MariaDB, add engineTail at the end of "create table..." DDL, usually used to set encode String like " DEFAULT CHARSET=utf8" for MySQL
Entity - Annotation Type in com.github.drinkjava2.jdialects.annotation.jpa
Specifies that the class is an entity.
entity2EditableModel(Class<?>) - Static method in class com.github.drinkjava2.jdialects.TableModelUtilsOfEntity
Convert entity class to a Editable TableModel instance
entity2EditableModels(Class<?>...) - Static method in class com.github.drinkjava2.jdialects.TableModelUtilsOfEntity
Convert entity classes to a editable TableModel instances
entity2Model(Class<?>) - Static method in class com.github.drinkjava2.jdialects.TableModelUtils
Convert entity class to a editable TableModel instance
entity2Models(Class<?>...) - Static method in class com.github.drinkjava2.jdialects.TableModelUtils
Convert entity classes to editable TableModel instances
entity2ReadOnlyModel(Class<?>) - Static method in class com.github.drinkjava2.jdialects.TableModelUtils
Convert entity class to a read-only TableModel instance
entity2ReadOnlyModel(Class<?>) - Static method in class com.github.drinkjava2.jdialects.TableModelUtilsOfEntity
Convert entity class to a read-only TableModel instance
entity2ReadOnlyModel(Class<?>...) - Static method in class com.github.drinkjava2.jdialects.TableModelUtilsOfEntity
Convert entity classes to a read-only TableModel instances
entity2ReadOnlyModels(Class<?>...) - Static method in class com.github.drinkjava2.jdialects.TableModelUtils
Convert entity classes to read-only TableModel instances
entityField(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
Mark this column map to a Java entity field, if exist other columns map to this field, delete other columns.
entrySet() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 
equals(Object) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Entry
 
error(String) - Method in class com.github.drinkjava2.jdialects.DialectLogger
 

F

findCommonElementType(Collection<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Find the common element type of the given Collection, if any.
findField(Class<?>, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Attempt to find a field on the supplied Class with the supplied name.
findField(Class<?>, String, Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Attempt to find a field on the supplied Class with the supplied name and/or type.
findFirstMatch(Collection<?>, Collection<E>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Return the first element in 'candidates' that is contained in 'source'.
findMethod(Class<?>, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Attempt to find a Method on the supplied class with the supplied name and no parameters.
findMethod(Class<?>, String, Class<?>...) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Attempt to find a Method on the supplied class with the supplied name and parameter types.
findValueOfType(Collection<?>, Class<T>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Find a single value of the given type in the given Collection.
findValueOfType(Collection<?>, Class<?>[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Find a single value of one of the given types in the given Collection: searching the Collection for a value of the first type, then searching for a value of the second type, etc.
FKey - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
Specifies the foreign key
fkey() - Method in class com.github.drinkjava2.jdialects.model.TableModel
Start add a foreign key definition in DDL, detail usage see demo
fkey(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Start add a foreign key definition in DDL, detail usage see demo
FKey1 - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
Specifies the foreign key
FKey2 - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
Specifies the foreign key
FKey3 - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
Specifies the foreign key
FKeyModel - Class in com.github.drinkjava2.jdialects.model
The platform-independent Foreign Key Constraint model
FKeyModel() - Constructor for class com.github.drinkjava2.jdialects.model.FKeyModel
 
FKeyModel(String) - Constructor for class com.github.drinkjava2.jdialects.model.FKeyModel
 
fkeyName(String) - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
fkeyTail(String) - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
Add a tail String at the end of Foreign key DDL
FLOAT(Integer...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
FLOAT - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
format(String) - Static method in class com.github.drinkjava2.jdialects.DDLFormatter
 
format(String) - Static method in class com.github.drinkjava2.jdialects.SqlFormatter
 
formatId(long) - Method in class com.github.drinkjava2.jdialects.id.SnowflakeCreator
extract and display time stamp, datacenterId, workerId and sequence number information from the given id in humanization format
formatSQL(String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Format all " ", \t, \r...
forName(String, ClassLoader) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Replacement for Class.forName() that also returns Class instances for primitives (e.g.
functions - Variable in enum com.github.drinkjava2.jdialects.Dialect
 

G

GeneratedValue - Annotation Type in com.github.drinkjava2.jdialects.annotation.jpa
Provides for the specification of generation strategies for the values of primary keys.
GenerationType - Enum in com.github.drinkjava2.jdialects.annotation.jpa
Defines the types of primary key generation strategies.
get(Object) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 
get() - Method in interface com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Reference
Returns the referenced entry or null if the entry is no longer available.
getAddColumnString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getAddColumnSuffixString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getAddFKeyRefPkeyString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getAddForeignKeyConstraintString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getAddPrimaryKeyConstraintString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getAllDeclaredMethods(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Get all declared methods on the leaf class and all superclasses.
getAllInterfaces(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return all interfaces that the given instance implements as an array, including ones implemented by superclasses.
getAllInterfacesAsSet(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return all interfaces that the given instance implements as a Set, including ones implemented by superclasses.
getAllInterfacesForClass(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return all interfaces that the given class implements as an array, including ones implemented by superclasses.
getAllInterfacesForClass(Class<?>, ClassLoader) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return all interfaces that the given class implements as an array, including ones implemented by superclasses.
getAllInterfacesForClassAsSet(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return all interfaces that the given class implements as a Set, including ones implemented by superclasses.
getAllInterfacesForClassAsSet(Class<?>, ClassLoader) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return all interfaces that the given class implements as a Set, including ones implemented by superclasses.
getAllocationSize() - Method in class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
getAllocationSize() - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
getAndSetters____________________________() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getAnyLengthRadix36UUID(Integer) - Static method in class com.github.drinkjava2.jdialects.id.UUIDAnyGenerator
 
getCheck() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getCheck() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getClassFieldReadMethod(Class<?>, String) - Static method in class com.github.drinkjava2.jdialects.ClassCacheUtils
Return cached class field read method to avoid each time use reflect
getClassFieldWriteMethod(Class<?>, String) - Static method in class com.github.drinkjava2.jdialects.ClassCacheUtils
Return cached class field write method to avoid each time use reflect
getClassFileName(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Determine the name of the class file, relative to the containing package: e.g.
getClassNameFromTableModel(TableModel) - Static method in class com.github.drinkjava2.jdialects.TableModelUtilsOfJavaSrc
Map database table name to entity class name, example:
user_name -> UserName
USER_NAME -> UserName
User_naMe -> UserName
UserName -> UserName
USERNAME -> USERNAME
userName -> UserName
username -> Username
getClassReadMethods(Class<?>) - Static method in class com.github.drinkjava2.jdialects.ClassCacheUtils
Return cached class read methods to avoid each time use reflect
getClassWriteMethods(Class<?>) - Static method in class com.github.drinkjava2.jdialects.ClassCacheUtils
Return cached class write methods to avoid each time use reflect
getColumn(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Get ColumnModel by column Name or field name ignore case, if not found, return null
getColumnByColName(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Get ColumnModel by columnName ignore case, if not found, return null
getColumnByFieldName(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Get ColumnModel by entity field name ignore case, if not found, return null
getColumnComment() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getColumnList() - Method in class com.github.drinkjava2.jdialects.model.IndexModel
 
getColumnList() - Method in class com.github.drinkjava2.jdialects.model.UniqueModel
 
getColumnModelDebugInfo(ColumnModel) - Static method in class com.github.drinkjava2.jdialects.DebugUtils
 
getColumnName() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getColumnNames() - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
getColumns() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getColumnType() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getComment() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getComment() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getConstructorIfAvailable(Class<T>, Class<?>...) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Determine whether the given class has a public constructor with the given signature, and return it if available (else return null).
getCount() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Segment
 
getCreateCatalogCommand() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getCreateMultisetTableString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getCreatePooledSequenceStrings() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getCreateSchemaCommand() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getCreateSequenceStrings() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getCreateTableString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getCurrentSchemaCommand() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getDdl() - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
getDdlFeatures() - Method in enum com.github.drinkjava2.jdialects.Dialect
Get DDL features of current dialect
getDebugInfo() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getDebugInfo() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getDefaultClassLoader() - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return the default ClassLoader to use: typically the thread context ClassLoader, if available; the ClassLoader that loaded the ClassUtils class will be used as fallback.
getDefaultValue() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getDescriptiveType(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return a descriptive name for the given object's type: usually simply the class name, but component type class name + "[]" for arrays, and an appended list of implemented interfaces for JDK proxies.
getDisplayString(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a content-based String representation if obj is not null; otherwise returns an empty String.
getDropCatalogCommand() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getDropForeignKeyString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getDropSchemaCommand() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getDropSequenceStrings() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getDropTableString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getEngineTail() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getEntityClass() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getEntityField() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getEpoch() - Method in class com.github.drinkjava2.jdialects.id.SnowflakeCreator
 
getField(Field, Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Get the field represented by the supplied field object on the specified target object.
getFilename(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Extract the filename from the given Java resource path, e.g.
getFilenameExtension(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Extract the filename extension from the given Java resource path, e.g.
getFirstPKeyColumn() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getFkey(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Get a FKeyModel by given fkeyName
getFkeyConstraints() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getFkeyDebugInfo(TableModel) - Static method in class com.github.drinkjava2.jdialects.DebugUtils
 
getFkeyName() - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
getFkeyTail() - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
getFunctionMap() - Method in class com.github.drinkjava2.jdialects.DialectFunctionTranslator
 
getFunctions() - Method in enum com.github.drinkjava2.jdialects.Dialect
Get DDL features of current dialect
getGenerationType() - Method in class com.github.drinkjava2.jdialects.id.AutoIdGenerator
 
getGenerationType() - Method in class com.github.drinkjava2.jdialects.id.IdentityIdGenerator
 
getGenerationType() - Method in interface com.github.drinkjava2.jdialects.id.IdGenerator
Return GenerationType
getGenerationType() - Method in class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
getGenerationType() - Method in class com.github.drinkjava2.jdialects.id.SnowflakeGenerator
 
getGenerationType() - Method in class com.github.drinkjava2.jdialects.id.SortedUUIDGenerator
 
getGenerationType() - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
getGenerationType() - Method in class com.github.drinkjava2.jdialects.id.TimeStampIdGenerator
 
getGenerationType() - Method in class com.github.drinkjava2.jdialects.id.UUID25Generator
 
getGenerationType() - Method in class com.github.drinkjava2.jdialects.id.UUID32Generator
 
getGenerationType() - Method in class com.github.drinkjava2.jdialects.id.UUID36Generator
 
getGenerationType() - Method in class com.github.drinkjava2.jdialects.id.UUIDAnyGenerator
 
getGlobalAllowReservedWords() - Static method in enum com.github.drinkjava2.jdialects.Dialect
 
getGlobalAllowShowSql() - Static method in enum com.github.drinkjava2.jdialects.Dialect
 
getGlobalSqlFunctionPrefix() - Static method in enum com.github.drinkjava2.jdialects.Dialect
 
getHasAlterTable() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getHasDataTypeInIdentityColumn() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getHash(Object) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
Get the hash for a given object, apply an additional hash function to reduce collisions.
getHash() - Method in interface com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Reference
Returns the hash for the reference.
getIdentityColumnString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getIdentityColumnStringBigINT() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getIdentityHexString(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a hex String form of an object's identity hash code.
getIdentitySelectString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getIdentitySelectStringBigINT() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getIdGenerationType() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getIdGenerator() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getIdGenerator(GenerationType, String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Search and return the IdGenerator in this TableModel by its generationType and name
getIdGenerator(GenerationType) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Get one of these IdGenerator instance by generationType: IDENTITY,AUTO,UUID25,UUID32,UUID36,TIMESTAMP
getIdGenerator(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Search and return the IdGenerator in this TableModel by its name
getIdGenerator(GenerationType, String, List<IdGenerator>) - Static method in class com.github.drinkjava2.jdialects.model.TableModel
Get a IdGenerator by type, if not found, search by name
getIdGeneratorByType(GenerationType) - Static method in class com.github.drinkjava2.jdialects.model.TableModel
Get one of these IdGenerator instance by generationType: IDENTITY,AUTO,UUID25,UUID32,UUID36,TIMESTAMP, if not found , return null;
getIdGeneratorName() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getIdGenerators() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getIdGenName() - Method in class com.github.drinkjava2.jdialects.id.AutoIdGenerator
 
getIdGenName() - Method in class com.github.drinkjava2.jdialects.id.IdentityIdGenerator
 
getIdGenName() - Method in interface com.github.drinkjava2.jdialects.id.IdGenerator
Return a unique Id Generator name in this TableModel
getIdGenName() - Method in class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
getIdGenName() - Method in class com.github.drinkjava2.jdialects.id.SnowflakeGenerator
 
getIdGenName() - Method in class com.github.drinkjava2.jdialects.id.SortedUUIDGenerator
 
getIdGenName() - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
getIdGenName() - Method in class com.github.drinkjava2.jdialects.id.TimeStampIdGenerator
 
getIdGenName() - Method in class com.github.drinkjava2.jdialects.id.UUID25Generator
 
getIdGenName() - Method in class com.github.drinkjava2.jdialects.id.UUID32Generator
 
getIdGenName() - Method in class com.github.drinkjava2.jdialects.id.UUID36Generator
 
getIdGenName() - Method in class com.github.drinkjava2.jdialects.id.UUIDAnyGenerator
 
getIndexConsts() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getInitialValue() - Method in class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
getInitialValue() - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
getInsertable() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getKey() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Entry
 
getLength() - Method in class com.github.drinkjava2.jdialects.id.UUIDAnyGenerator
 
getLength() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getLengths() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getLoadFactor() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 
getLog(Class<?>) - Static method in class com.github.drinkjava2.jdialects.DialectLogger
Build a DbProLogger instance by given targetClass
getMethod(Class<?>, String, Class<?>...) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Determine whether the given class has a public method with the given signature, and return it if available (else throws an IllegalStateException).
getMethodCountForName(Class<?>, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return the number of methods with a given name (with any argument types), for the given class and/or its superclasses.
getMethodIfAvailable(Class<?>, String, Class<?>...) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Determine whether the given class has a public method with the given signature, and return it if available (else return null).
getMostSpecificMethod(Method, Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Given a method, which may come from an interface, and a target class used in the current reflective invocation, find the corresponding target method if there is one.
getName() - Method in class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
getName() - Method in class com.github.drinkjava2.jdialects.id.SortedUUIDGenerator
 
getName() - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
getName() - Method in class com.github.drinkjava2.jdialects.model.IndexModel
 
getName() - Method in class com.github.drinkjava2.jdialects.model.UniqueModel
 
getNeedDropConstraintsBeforeDropTable() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getNexID(IdGenerator, NormalJdbcTool, Type) - Method in enum com.github.drinkjava2.jdialects.Dialect
Return next ID by given IdGenerator and NormalJdbcStyle instance
getNext() - Method in interface com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Reference
Returns the next reference in the chain or null
getNextID(NormalJdbcTool, Dialect, Type) - Method in class com.github.drinkjava2.jdialects.id.AutoIdGenerator
 
getNextID(NormalJdbcTool, Dialect, Type) - Method in class com.github.drinkjava2.jdialects.id.IdentityIdGenerator
 
getNextID(NormalJdbcTool, Dialect, Type) - Method in interface com.github.drinkjava2.jdialects.id.IdGenerator
Get the next ID generated by implementation of IdGenerator
getNextID(NormalJdbcTool, Dialect, Type) - Method in class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
getNextID(NormalJdbcTool, Dialect, Type) - Method in class com.github.drinkjava2.jdialects.id.SnowflakeGenerator
 
getNextID(NormalJdbcTool, Dialect, Type) - Method in class com.github.drinkjava2.jdialects.id.SortedUUIDGenerator
 
getNextID(NormalJdbcTool, Dialect, Type) - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
Get the next Table Generator ID
getNextID(NormalJdbcTool, Dialect, Type) - Method in class com.github.drinkjava2.jdialects.id.TimeStampIdGenerator
 
getNextID(NormalJdbcTool, Dialect, Type) - Method in class com.github.drinkjava2.jdialects.id.UUID25Generator
 
getNextID(NormalJdbcTool, Dialect, Type) - Method in class com.github.drinkjava2.jdialects.id.UUID32Generator
 
getNextID(NormalJdbcTool, Dialect, Type) - Method in class com.github.drinkjava2.jdialects.id.UUID36Generator
 
getNextID(NormalJdbcTool, Dialect, Type) - Method in class com.github.drinkjava2.jdialects.id.UUIDAnyGenerator
 
getNullable() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getNullColumnString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getPackageName(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Determine the name of the package of the given class, e.g.
getPackageName(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Determine the name of the package of the given fully-qualified class name, e.g.
getPkColumnName() - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
getPkColumnValue() - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
getPkey() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getPKeyColsSortByColumnName() - Method in class com.github.drinkjava2.jdialects.model.TableModel
Get pkey columns sorted by column name
getPKeyCount() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getPrecision() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getQualifiedMethodName(Method) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return the qualified name of the given method, consisting of fully qualified interface/class name + "." + method name.
getQualifiedMethodName(Method, Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return the qualified name of the given method, consisting of fully qualified interface/class name + "." + method name.
getQualifiedName(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return the qualified name of the given class: usually simply the class name, but component type class name + "[]" for arrays.
getRandomString(int) - Static method in class com.github.drinkjava2.jdialects.StrUtils
 
getReadOnly() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getReference(Object, ConcurrentReferenceHashMap.Restructure) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
Return a ConcurrentReferenceHashMap.Reference to the ConcurrentReferenceHashMap.Entry for the specified key, or null if not found.
getReference(Object, int, ConcurrentReferenceHashMap.Restructure) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Segment
 
getRefTableAndColumns() - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
getRequiresParensForTupleDistinctCounts() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getScale() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getSegment(int) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 
getSegmentsSize() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 
getSelectSequenceNextValString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getSequenceName() - Method in class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
getSequenceNextValString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getSequenceOrTableIdGenerator(Dialect) - Method in class com.github.drinkjava2.jdialects.id.AutoIdGenerator
If dialect support sequence, return a SequenceIdGenerator, otherwise return a TableIdGenerator
getShardDatabase() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getShardDatabaseColumn() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getShardTable() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getShardTableColumn() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getShortName(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Get the class name without the qualified package name.
getShortName(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Get the class name without the qualified package name.
getShortNameAsProperty(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return the short string name of a Java class in uncapitalized JavaBeans property format.
getSize() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Segment
 
getSortedLength() - Method in class com.github.drinkjava2.jdialects.id.SortedUUIDGenerator
 
getStaticMethod(Class<?>, String, Class<?>...) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return a public static method of a class.
getSupportsColumnCheck() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getSupportsCommentOn() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getSupportsIdentityColumns() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getSupportsIfExistsAfterConstraintName() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getSupportsIfExistsAfterTableName() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getSupportsIfExistsBeforeConstraintName() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getSupportsIfExistsBeforeTableName() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getSupportsInsertSelectIdentity() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getSupportsPooledSequences() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getSupportsSequences() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getSupportsTableCheck() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getTable() - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
getTableModel() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getTableModel() - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
getTableModel() - Method in class com.github.drinkjava2.jdialects.model.IndexModel
 
getTableModel() - Method in class com.github.drinkjava2.jdialects.model.UniqueModel
 
getTableModelDebugInfo(TableModel) - Static method in class com.github.drinkjava2.jdialects.DebugUtils
 
getTableModelsDebugInfo(TableModel[]) - Static method in class com.github.drinkjava2.jdialects.DebugUtils
 
getTableName() - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
getTableName() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getTableTypeString() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
getTail() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getTransientable() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getTypeMappings() - Method in enum com.github.drinkjava2.jdialects.Dialect
Get Type mapping features key-value Map of current dialect
getUnique() - Method in class com.github.drinkjava2.jdialects.model.IndexModel
 
getUniqueConsts() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
getUniqueDeclaredMethods(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Get the unique set of declared methods on the leaf class and all superclasses.
getUpdatable() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
getUserClass(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return the user-defined class for the given instance: usually simply the class of the given instance, but the original class in case of a CGLIB-generated subclass.
getUserClass(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Return the user-defined class for the given class: usually simply the given class, but the original class in case of a CGLIB-generated subclass.
getUuidLength() - Method in class com.github.drinkjava2.jdialects.id.SortedUUIDGenerator
 
getValue() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Entry
 
getValueColumnName() - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
getWaitCount() - Method in class com.github.drinkjava2.jdialects.id.SnowflakeCreator
 
globalTableModelCache - Static variable in class com.github.drinkjava2.jdialects.TableModelUtilsOfEntity
 
guessDialect(Connection) - Static method in enum com.github.drinkjava2.jdialects.Dialect
Guess Dialect by given connection, note:this method does not close connection
guessDialect(DataSource) - Static method in enum com.github.drinkjava2.jdialects.Dialect
Guess Dialect by given data source
guessDialect(Connection) - Static method in class com.github.drinkjava2.jdialects.GuessDialectUtils
Guess dialect based on given JDBC connection instance, Note: this method does not close connection
guessDialect(DataSource) - Static method in class com.github.drinkjava2.jdialects.GuessDialectUtils
Guess dialect based on given dataSource
guessDialect(String, String, Object...) - Static method in class com.github.drinkjava2.jdialects.GuessDialectUtils
 
GuessDialectUtils - Class in com.github.drinkjava2.jdialects
Guess Dialect Utils
GuessDialectUtils() - Constructor for class com.github.drinkjava2.jdialects.GuessDialectUtils
 

H

handleInvocationTargetException(InvocationTargetException) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Handle the given invocation target exception.
handleReflectionException(Exception) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Handle the given reflection exception.
hasAlterTable - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
hasAtLeastOneMethodWithName(Class<?>, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Does the given class or one of its superclasses at least have one or more methods with the supplied name (with any argument types)? Includes non-public methods.
hasConstructor(Class<?>, Class<?>...) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Determine whether the given class has a public constructor with the given signature.
hasDataTypeInIdentityColumn - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
hashCode() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Entry
 
hashCode(boolean) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return the same value as Boolean.hashCode()}.
hashCode(double) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return the same value as Double.hashCode()}.
hashCode(float) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return the same value as Float.hashCode()}.
hashCode(long) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return the same value as Long.hashCode()}.
hasLength(String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert that the given String is not empty; that is, it must not be null and not the empty String.
hasLength(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Deprecated. as of 4.3.7, in favor of hasLength(String, String)
hasLength(CharSequence) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Check that the given CharSequence is neither null nor of length 0.
hasLength(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Check that the given String is neither null nor of length 0.
hasLength(CharSequence) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Check that the given CharSequence is neither null nor of length 0.
hasLength(String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Check that the given String is neither null nor of length 0.
hasMethod(Class<?>, String, Class<?>...) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Determine whether the given class has a public method with the given signature.
hasText(String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert that the given String contains valid text content; that is, it must not be null and must contain at least one non-whitespace character.
hasText(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Deprecated. as of 4.3.7, in favor of hasText(String, String)
hasText(CharSequence) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Check whether the given CharSequence contains actual text.
hasText(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Check whether the given String contains actual text.
hasUniqueObject(Collection<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Determine whether the given Collection only contains a single unique object.

I

Id - Annotation Type in com.github.drinkjava2.jdialects.annotation.jpa
Specifies the primary key of an entity.
id() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
equal to pkey method.
identityColumnString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
identityColumnStringBigINT - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
IdentityId - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
A shortcut annotation equal to @GenertedValue(strategy=GenerationType.IDENTITY)
identityId() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
Mark a field will use database's native identity type.
IdentityIdGenerator - Class in com.github.drinkjava2.jdialects.id
Define an Identity type generator, supported by MySQL, SQL Server, DB2, Derby, Sybase, PostgreSQL
IdentityIdGenerator() - Constructor for class com.github.drinkjava2.jdialects.id.IdentityIdGenerator
 
identitySelectString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
identitySelectStringBigINT - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
identityToString(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a String representation of an object's overall identity.
IdGenerator - Interface in com.github.drinkjava2.jdialects.id
Interface for all ID generators
idGenerator(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
The value of this column will be generated by a sequence or table generator
Index - Annotation Type in com.github.drinkjava2.jdialects.annotation.jpa
Used in schema generation to specify creation of an index.
index() - Method in class com.github.drinkjava2.jdialects.model.TableModel
Start add a Index in DDL, detail usage see demo
index(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Start add a Index in DDL, detail usage see demo
IndexModel - Class in com.github.drinkjava2.jdialects.model
The platform-independent Index model
IndexModel() - Constructor for class com.github.drinkjava2.jdialects.model.IndexModel
 
IndexModel(String) - Constructor for class com.github.drinkjava2.jdialects.model.IndexModel
 
indexOfIgnoreCase(String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Return first postion ignore case, return -1 if not found
info(String) - Method in class com.github.drinkjava2.jdialects.DialectLogger
 
initDDLFeatures(Dialect, DDLFeatures) - Static method in class com.github.drinkjava2.jdialects.DDLFeatures
 
initFunctionTemplates() - Static method in class com.github.drinkjava2.jdialects.DialectFunctionTemplate
 
initializePaginSQLTemplate(Dialect) - Static method in class com.github.drinkjava2.jdialects.DialectPaginationTemplate
Return pagination template of this Dialect
initializeTopLimitSqlTemplate(Dialect) - Static method in class com.github.drinkjava2.jdialects.DialectPaginationTemplate
Return top limit sql template of this Dialect
initTypeMappings() - Static method in class com.github.drinkjava2.jdialects.DialectTypeMappingTemplate
 
insertable(Boolean) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
Mark a field insertable=true, only for JPA or ORM tool use
insertArray(Object, Object[]) - Static method in class com.github.drinkjava2.jdialects.ArrayUtils
Insert an Object at front of array
instance - Static variable in class com.github.drinkjava2.jdialects.DialectFunctionTranslator
 
INSTANCE - Static variable in class com.github.drinkjava2.jdialects.DialectLogger
 
INSTANCE - Static variable in class com.github.drinkjava2.jdialects.id.AutoIdGenerator
 
INSTANCE - Static variable in class com.github.drinkjava2.jdialects.id.IdentityIdGenerator
 
INSTANCE - Static variable in class com.github.drinkjava2.jdialects.id.SnowflakeGenerator
 
INSTANCE - Static variable in class com.github.drinkjava2.jdialects.id.TimeStampIdGenerator
 
INSTANCE - Static variable in class com.github.drinkjava2.jdialects.id.UUID25Generator
 
INSTANCE - Static variable in class com.github.drinkjava2.jdialects.id.UUID32Generator
 
INSTANCE - Static variable in class com.github.drinkjava2.jdialects.id.UUID36Generator
 
INTEGER() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
INTEGER - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
invokeJdbcMethod(Method, Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Invoke the specified JDBC API Method against the supplied target object with no arguments.
invokeJdbcMethod(Method, Object, Object...) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Invoke the specified JDBC API Method against the supplied target object with the supplied arguments.
invokeMethod(Method, Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Invoke the specified Method against the supplied target object with no arguments.
invokeMethod(Method, Object, Object...) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Invoke the specified Method against the supplied target object with the supplied arguments.
isArray(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Determine whether the given object is an array: either an Object array or a primitive array.
isAssignable(Class<?>, Class<?>, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class<?>, Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class<?>, Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Check if the right-hand side type may be assigned to the left-hand side type, assuming setting by reflection.
isAssignableValue(Class<?>, Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Determine if the given type is assignable from the given value, assuming setting by reflection.
isCacheSafe(Class<?>, ClassLoader) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Check whether the given class is cache-safe in the given context, i.e.
isCapitalizedString(String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Return true if first letter is Capitalised
isCglibProxy(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Check whether the given object is a CGLIB proxy.
isCglibProxyClass(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Check whether the specified class is a CGLIB-generated class.
isCglibProxyClassName(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Check whether the specified class name is a CGLIB-generated class.
isCglibRenamedMethod(Method) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Determine whether the given method is a CGLIB 'renamed' method, following the pattern "CGLIB$methodName$0".
isCheckedException(Throwable) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return whether the given throwable is a checked exception: that is, neither a RuntimeException nor an Error.
isCompatibleWithThrowsClause(Throwable, Class<?>...) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Check whether the given exception is compatible with the specified exception types, as declared in a throws clause.
isDB2Family() - Method in enum com.github.drinkjava2.jdialects.Dialect
 
isDerbyFamily() - Method in enum com.github.drinkjava2.jdialects.Dialect
 
isEmpty(Collection<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Return true if the supplied Collection is null or empty.
isEmpty(Map<?, ?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Return true if the supplied Map is null or empty.
isEmpty(Object[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Determine whether the given array is empty: i.e.
isEmpty(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Determine whether the given object is empty.
isEmpty(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Check whether the given String is empty.
isEmpty(Object) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Check whether the given String is empty.
isEqualsMethod(Method) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Determine whether the given method is an "equals" method.
isH2Family() - Method in enum com.github.drinkjava2.jdialects.Dialect
 
isHashCodeMethod(Method) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Determine whether the given method is a "hashCode" method.
isInfomixFamily() - Method in enum com.github.drinkjava2.jdialects.Dialect
 
isInstanceOf(Class<?>, Object, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert that the provided object is an instance of the provided class.
isInstanceOf(Class<?>, Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert that the provided object is an instance of the provided class.
isInvisibleChar(char) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Return true if is an invisible Char like space, tab, return...
isLetterNumber(char) - Static method in class com.github.drinkjava2.jdialects.DialectFunctionTranslator
 
isMySqlFamily() - Method in enum com.github.drinkjava2.jdialects.Dialect
 
isNormalLetters(char) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Check if a String only have a-z,A-Z,0-9,"_" characters
isNull(Object, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert that an object is null.
isNull(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Deprecated. as of 4.3.7, in favor of isNull(Object, String)
isObjectMethod(Method) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Determine whether the given method is originally declared by Object.
isOracleFamily() - Method in enum com.github.drinkjava2.jdialects.Dialect
 
isPostgresFamily() - Method in enum com.github.drinkjava2.jdialects.Dialect
 
isPresent(String, ClassLoader) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Determine whether the Class identified by the supplied name is present and can be loaded.
isPrimitiveArray(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Check if the given class represents an array of primitives, i.e.
isPrimitiveOrWrapper(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Check if the given class represents a primitive (i.e.
isPrimitiveWrapper(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Check if the given class represents a primitive wrapper, i.e.
isPrimitiveWrapperArray(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Check if the given class represents an array of primitive wrappers, i.e.
isPublicStaticFinal(Field) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Determine whether the given field is a "public static final" constant.
isReservedWord(Dialect, String) - Static method in class com.github.drinkjava2.jdialects.ReservedDBWords
Check if is a dialect reserved word of ANSI-SQL reserved word
isReservedWord(String) - Static method in class com.github.drinkjava2.jdialects.ReservedDBWords
Check if is a reserved word of any database
isSQLServerFamily() - Method in enum com.github.drinkjava2.jdialects.Dialect
 
isSybaseFamily() - Method in enum com.github.drinkjava2.jdialects.Dialect
 
isToStringMethod(Method) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Determine whether the given method is a "toString" method.
isTrue(boolean, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert a boolean expression, throwing an IllegalArgumentException if the expression evaluates to false.
isTrue(boolean) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Deprecated. as of 4.3.7, in favor of isTrue(boolean, String)
isUserLevelMethod(Method) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Determine whether the given method is declared by the user or at least pointing to a user-declared method.
isValidDDLTemplate(String) - Static method in class com.github.drinkjava2.jdialects.DDLFeatures
 
isVisible(Class<?>, ClassLoader) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Check whether the given class is visible in the given ClassLoader.

J

JAVA_OBJECT() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
JAVA_OBJECT - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
javaSqlTypeToDialectType(int) - Static method in class com.github.drinkjava2.jdialects.TypeUtils
Convert java.sql.Types.xxx type to Dialect's Type
joinStringArray(String[], String[]) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Join 2 String array into one

L

lastIndexOfIgnoreCase(String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Return last sub-String position ignore case, return -1 if not found
listToString(List<?>) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Change a Object List to "obj1,obj2...,objn" String
logger - Static variable in enum com.github.drinkjava2.jdialects.Dialect
 
LONG() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
LONGNVARCHAR(Integer) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
LONGNVARCHAR - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
LONGVARBINARY(Integer...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
LONGVARBINARY - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
LONGVARCHAR(Integer...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
LONGVARCHAR - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 

M

main(String[]) - Static method in class com.github.drinkjava2.jdialects.DDLFormatter
 
main(String[]) - Static method in class com.github.drinkjava2.jdialects.SqlFormatter
 
makeAccessible(Field) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Make the given field accessible, explicitly setting it accessible if necessary.
makeAccessible(Method) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Make the given method accessible, explicitly setting it accessible if necessary.
makeAccessible(Constructor<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Make the given constructor accessible, explicitly setting it accessible if necessary.
matches(Field) - Method in interface com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils.FieldFilter
Determine whether the given field matches.
matches(Method) - Method in interface com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils.MethodFilter
Determine whether the given method matches.
matchesTypeName(Class<?>, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Check whether the given class matches the user-specified type name.
mergeArrayIntoCollection(Object, Collection<E>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Merge the given array into the given Collection.
mergePropertiesIntoMap(Properties, Map<K, V>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Merge the given Properties instance into the given Map, copying all properties (key-value pairs) over.
mergeStringArrays(String[], String[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Merge the given String arrays into one, with overlapping array elements only included once.
model2JavaSrc(TableModel, boolean, boolean, String) - Static method in class com.github.drinkjava2.jdialects.TableModelUtils
Convert a TablemModel instance to Java entity class source code
modelToJavaSourceCode(TableModel, boolean, boolean, String) - Static method in class com.github.drinkjava2.jdialects.TableModelUtilsOfJavaSrc
Convert a TablemModel instance to Java entity class source code

N

NCHAR(Integer) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
NCHAR - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
NCLOB() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
NCLOB - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
needDropConstraintsBeforeDropTable - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
newCopy() - Method in class com.github.drinkjava2.jdialects.id.AutoIdGenerator
 
newCopy() - Method in class com.github.drinkjava2.jdialects.id.IdentityIdGenerator
 
newCopy() - Method in interface com.github.drinkjava2.jdialects.id.IdGenerator
Return a newCopy (Deep Clone) instance
newCopy() - Method in class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
newCopy() - Method in class com.github.drinkjava2.jdialects.id.SnowflakeGenerator
 
newCopy() - Method in class com.github.drinkjava2.jdialects.id.SortedUUIDGenerator
 
newCopy() - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
newCopy() - Method in class com.github.drinkjava2.jdialects.id.TimeStampIdGenerator
 
newCopy() - Method in class com.github.drinkjava2.jdialects.id.UUID25Generator
 
newCopy() - Method in class com.github.drinkjava2.jdialects.id.UUID32Generator
 
newCopy() - Method in class com.github.drinkjava2.jdialects.id.UUID36Generator
 
newCopy() - Method in class com.github.drinkjava2.jdialects.id.UUIDAnyGenerator
 
newCopy() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
newCopy() - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
newCopy() - Method in class com.github.drinkjava2.jdialects.model.IndexModel
 
newCopy() - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
newCopy() - Method in class com.github.drinkjava2.jdialects.model.UniqueModel
 
nExecute(String, Object...) - Method in interface com.github.drinkjava2.jdbpro.NormalJdbcTool
Execute an statement, including a stored procedure call, which does not return any result sets.
nextId() - Method in class com.github.drinkjava2.jdialects.id.SnowflakeCreator
generate an unique and incrementing id
NON_BRIDGED_METHODS - Static variable in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Pre-built MethodFilter that matches all non-bridge methods.
noNullElements(Object[], String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert that an array contains no null elements.
noNullElements(Object[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Deprecated. as of 4.3.7, in favor of noNullElements(Object[], String)
NormalJdbcTool - Interface in com.github.drinkjava2.jdbpro
Interface of Normal JDBC methods, this interface is used for other projects to eliminate jar dependency, other projects need copy this interface into there source code folder but always use name "com.github.drinkjava2.jdbpro.NormalJdbcTool"
NOT_SUPPORT - Static variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
NOT_SUPPORT - Static variable in enum com.github.drinkjava2.jdialects.Dialect
 
notEmpty(Object[], String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert that an array contains elements; that is, it must not be null and must contain at least one element.
notEmpty(Object[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Deprecated. as of 4.3.7, in favor of notEmpty(Object[], String)
notEmpty(Collection<?>, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert that a collection contains elements; that is, it must not be null and must contain at least one element.
notEmpty(Collection<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Deprecated. as of 4.3.7, in favor of notEmpty(Collection, String)
notEmpty(Map<?, ?>, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert that a Map contains entries; that is, it must not be null and must contain at least one entry.
notEmpty(Map<?, ?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Deprecated. as of 4.3.7, in favor of notEmpty(Map, String)
notNull() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
Add a not null DDL piece if support
notNull(Object, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert that an object is not null.
notNull(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Deprecated. as of 4.3.7, in favor of notNull(Object, String)
nQueryForObject(String, Object...) - Method in interface com.github.drinkjava2.jdbpro.NormalJdbcTool
Query for an Object, only return the first row and first column's value if more than one column or more than 1 rows returned, a null object may return if no result found
nullColumnString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
nullSafeClassName(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Determine the class name for the given object.
nullSafeEquals(Object, Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Determine if the given objects are equal, returning true if both are null or false if only one is null.
nullSafeHashCode(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return as hash code for the given object; typically the value of Object#hashCode()}.
nullSafeHashCode(Object[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(boolean[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(byte[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(char[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(double[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(float[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(int[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(long[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(short[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeToString(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a String representation of the specified Object.
nullSafeToString(Object[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(boolean[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(byte[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(char[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(double[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(float[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(int[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(long[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(short[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Return a String representation of the contents of the specified array.
NUMERIC(Integer...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
NUMERIC - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
nUpdate(String, Object...) - Method in interface com.github.drinkjava2.jdbpro.NormalJdbcTool
Executes the given INSERT, UPDATE, or DELETE SQL statement.
NVARCHAR(Integer) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
NVARCHAR - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 

O

ObjectUtils - Class in com.github.drinkjava2.jdialects.springsrc.utils
Miscellaneous object utility methods.
ObjectUtils() - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
 
OTHER(Integer...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
OTHER - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
overrideThreadContextClassLoader(ClassLoader) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Override the thread context ClassLoader with the environment's bean ClassLoader if necessary, i.e.

P

PackageInfo - Class in com.github.drinkjava2.jdialects
jDialect is a separate project has its own Maven central releases.
PackageInfo() - Constructor for class com.github.drinkjava2.jdialects.PackageInfo
 
PackageInfo - Class in com.github.drinkjava2.jdialects.springsrc
All .java files in this folder are copied from Spring4.3.9.Release, no any change except the package name
PackageInfo() - Constructor for class com.github.drinkjava2.jdialects.springsrc.PackageInfo
 
pagin(int, int, String) - Method in interface com.github.drinkjava2.jdialects.CommonDialect
Create a pagination SQL by given pageNumber, pageSize and SQL
pagin(int, int, String) - Method in enum com.github.drinkjava2.jdialects.Dialect
 
paginAndTrans(int, int, String...) - Method in interface com.github.drinkjava2.jdialects.CommonDialect
Paginate and Translate a SQL
paginAndTrans(int, int, String...) - Method in enum com.github.drinkjava2.jdialects.Dialect
Paginate and Translate a SQL
parseId(long) - Method in class com.github.drinkjava2.jdialects.id.SnowflakeCreator
extract time stamp, datacenterId, workerId and sequence number information from the given id
parseLocaleString(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Parse the given localeString value into a Locale.
parseTimeZoneString(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Parse the given timeZoneString value into a TimeZone.
pathEquals(String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Compare two paths after normalization of them.
PKey - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
Specifies the primary key of an entity.
pkey() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
Mark primary key, if more than one will build compound Primary key
pollForPurge() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.ReferenceManager
Return any reference that has been garbage collected and can be purged from the underlying structure or null if no references need purging.
purgeUnreferencedEntries() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
Remove any entries that have been garbage collected and are no longer referenced.
put(K, V) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 
putIfAbsent(K, V) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 

Q

quote(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Quote the given String with single quotes.
quoteIfString(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Turn the given Object into a String with single quotes if it is a String; keeping the Object as-is else.

R

readValueFromBeanField(Object, String) - Static method in class com.github.drinkjava2.jdialects.ClassCacheUtils
Read value from entityBean field
REAL() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
REAL - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
ReflectionUtils - Class in com.github.drinkjava2.jdialects.springsrc.utils
Simple utility class for working with the reflection API and handling reflection exceptions.
ReflectionUtils() - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
 
ReflectionUtils.FieldCallback - Interface in com.github.drinkjava2.jdialects.springsrc.utils
Callback interface invoked on each field in the hierarchy.
ReflectionUtils.FieldFilter - Interface in com.github.drinkjava2.jdialects.springsrc.utils
Callback optionally used to filter fields to be operated on by a field callback.
ReflectionUtils.MethodCallback - Interface in com.github.drinkjava2.jdialects.springsrc.utils
Action to take on each method.
ReflectionUtils.MethodFilter - Interface in com.github.drinkjava2.jdialects.springsrc.utils
Callback optionally used to filter methods to be operated on by a method callback.
refs(String...) - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
registerClass(Class<?>) - Static method in class com.github.drinkjava2.jdialects.ClassCacheUtils
 
release() - Method in interface com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Reference
Release this entry and ensure that it will be returned from ReferenceManager#pollForPurge().
remove(Object) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 
remove(Object, Object) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 
removeColumn(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Remove a ColumnModel by given columnName
removeDuplicateStrings(String[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Remove duplicate strings from the given array.
removeFKey(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Remove a FKey by given fkeyName
render(Dialect, String, String...) - Static method in class com.github.drinkjava2.jdialects.DialectFunctionUtils
The render method translate function template to real SQL piece
replace(K, V, V) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 
replace(K, V) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 
replace(String, String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Replace all occurrences of a substring within a string with another string.
replace(String, String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Replace all occurrences of a substring within a string with another string.
replaceFirst(String, String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Replace first occurrences of a substring within a string with another string.
replaceIgnoreCase(String, String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Replace all sub strings ignore case
replaceIgnoreCase("AbcDECd", "Cd", "FF") = "AbFFEFF"
requiresParensForTupleDistinctCounts - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
ReservedDBWords - Class in com.github.drinkjava2.jdialects
Collect reserved words of all databases, keywords not included
reservedForDB(String) - Static method in class com.github.drinkjava2.jdialects.ReservedDBWords
Return database name of given reserved word
resolveClassName(String, ClassLoader) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Resolve the given class name into a Class instance.
resolvePrimitiveClassName(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Resolve the given class name as primitive class, if appropriate, according to the JVM's naming rules for primitive classes.
resolvePrimitiveIfNecessary(Class<?>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Resolve the given class if it is a primitive class, returning the corresponding primitive wrapper type instead.
restructureIfNecessary(boolean) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Segment
Restructure the underlying data structure when it becomes necessary.
rethrowException(Throwable) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Rethrow the given exception, which is presumably the target exception of an InvocationTargetException.
rethrowRuntimeException(Throwable) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Rethrow the given exception, which is presumably the target exception of an InvocationTargetException.

S

selectSequenceNextValString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
SEQ_AUTOID_INSTANCE - Static variable in class com.github.drinkjava2.jdialects.id.AutoIdGenerator
 
SequenceGenerator - Annotation Type in com.github.drinkjava2.jdialects.annotation.jpa
Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation.
sequenceGenerator(String, String, Integer, Integer) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
The value of this column will be generated by a sequence
sequenceGenerator(String, String, Integer, Integer) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Add a sequence definition DDL, note: some dialects do not support sequence
SequenceIdGenerator - Class in com.github.drinkjava2.jdialects.id
The platform-independent SequenceGen model, similar like JPA
SequenceIdGenerator() - Constructor for class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
SequenceIdGenerator(String, String, Integer, Integer) - Constructor for class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
sequenceNextValString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
setAllocationSize(Integer) - Method in class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
setAllocationSize(Integer) - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
setCheck(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setCheck(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
setColumnList(String[]) - Method in class com.github.drinkjava2.jdialects.model.IndexModel
 
setColumnList(String[]) - Method in class com.github.drinkjava2.jdialects.model.UniqueModel
 
setColumnName(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setColumnNames(List<String>) - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
setColumns(List<ColumnModel>) - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
setColumnType(Type) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setComment(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setComment(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
setDdl(Boolean) - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
setDefaultValue(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setEnableLog(boolean) - Static method in class com.github.drinkjava2.jdialects.DialectLogger
 
setEngineTail(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
setEntityClass(Class<?>) - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
setEntityField(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setField(Field, Object, Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Set the field represented by the supplied field object on the specified target object to the specified value.
setFkeyConstraints(List<FKeyModel>) - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
setFkeyName(String) - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
setFkeyTail(String) - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
setFunctionMap(Map<String, Integer>) - Method in class com.github.drinkjava2.jdialects.DialectFunctionTranslator
 
setGlobalAllowReservedWords(Boolean) - Static method in enum com.github.drinkjava2.jdialects.Dialect
Note! this is a global method to set globalAllowReservedWords
setGlobalAllowShowSql(Boolean) - Static method in enum com.github.drinkjava2.jdialects.Dialect
Note! this is a global method to set globalAllowShowSql
setGlobalSqlFunctionPrefix(String) - Static method in enum com.github.drinkjava2.jdialects.Dialect
Note! this is a global method to set globalSqlFunctionPrefix
setIdGenerationType(GenerationType) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setIdGeneratorName(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setIdGenerators(List<IdGenerator>) - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
setIndexConsts(List<IndexModel>) - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
setInitialValue(Integer) - Method in class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
setInitialValue(Integer) - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
setInsertable(Boolean) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setLength(Integer) - Method in class com.github.drinkjava2.jdialects.id.UUIDAnyGenerator
 
setLength(Integer) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setLengths(Integer[]) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setName(String) - Method in class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
setName(String) - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
setName(String) - Method in class com.github.drinkjava2.jdialects.model.IndexModel
 
setName(String) - Method in class com.github.drinkjava2.jdialects.model.UniqueModel
 
setNullable(Boolean) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setPkColumnName(String) - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
setPkColumnValue(String) - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
setPkey(Boolean) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setPrecision(Integer) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setReadOnly(Boolean) - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
setRefTableAndColumns(String[]) - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
setScale(Integer) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setSequenceName(String) - Method in class com.github.drinkjava2.jdialects.id.SequenceIdGenerator
 
setShardDatabase(String[]) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setShardTable(String[]) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setTable(String) - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
setTableModel(TableModel) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setTableModel(TableModel) - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
setTableModel(TableModel) - Method in class com.github.drinkjava2.jdialects.model.IndexModel
 
setTableModel(TableModel) - Method in class com.github.drinkjava2.jdialects.model.UniqueModel
 
setTableName(String) - Method in class com.github.drinkjava2.jdialects.model.FKeyModel
 
setTableName(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
setTail(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setTransientable(Boolean) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setUnique(Boolean) - Method in class com.github.drinkjava2.jdialects.model.IndexModel
 
setUniqueConsts(List<UniqueModel>) - Method in class com.github.drinkjava2.jdialects.model.TableModel
 
setUpdatable(Boolean) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
setValue(V) - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Entry
 
setValueColumnName(String) - Method in class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
shallowCopyFieldState(Object, Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Given the source object and the destination, which must be the same class or a subclass, copy all fields, including inherited fields.
ShardDatabase - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
To mark this column is a ShardDatabase column, one table only allow 1 column be marked as ShardDatabase column
shardDatabase(String...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
Mark is a shartDatabase column, for ORM tool use
ShardTable - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
To mark this column is a shardTable column, one table only allow 1 column be marked as shardiTable column
shardTable(String...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
Mark is a shartTable column, for ORM tool use
SHORT() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
SingleFKey - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
A shortcut annotation of FKey, only for one column
singleFKey(String...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
A shortcut method to add Foreign constraint for single column, for multiple columns please use tableModel.fkey() method instead
SingleIndex - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
A shortcut annotation of Index, only for one column
singleIndex(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
A shortcut method to add a index for single column, for multiple columns index please use tableModel.index() method
singleIndex() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
A shortcut method to add a index for single column, for multiple columns index please use tableModel.index() method
SingleUnique - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
A shortcut annotation of Unique, only for one column
singleUnique(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
A shortcut method to add a unique constraint for single column, for multiple columns index please use tableModel.unique() method
singleUnique() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
A shortcut method to add a unique constraint for single column, for multiple columns index please use tableModel.unique() method
size() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap
 
SMALLINT() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
SMALLINT - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
Snowflake - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
Mark a Long type column value build by using SnowFlake algorithm from twitter
In jDialects SnowFlake algorithm source code originated from: https://github.com/downgoon/snowflake The SnowFlake algorithm follows below basic rule:
1 bit const=0
41 bits Timestamp based on machine
10 bits Confighured by user, used as machine ID, an example is assign 5 bits for dataCenterID + 5 bits for workerID
12 bits Sequence number
snowflake() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
SnowflakeCreator - Class in com.github.drinkjava2.jdialects.id
java edition of Twitter Snowflake, a network service for generating unique ID numbers at high scale with some simple guarantees.
SnowflakeCreator(long, long, long, long) - Constructor for class com.github.drinkjava2.jdialects.id.SnowflakeCreator
 
SnowflakeGenerator - Class in com.github.drinkjava2.jdialects.id
SnowflakeGenerator is a special generator, only mark this column is a snowflake type column, but getNextID() method does not work, because snowflake value should generated by outside program, it depends on real machine setting, in jDialects there is a SnowflakeCreator tool for these outside program to use
SnowflakeGenerator() - Constructor for class com.github.drinkjava2.jdialects.id.SnowflakeGenerator
 
sortedUUID(String, Integer, Integer) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
SortedUUIDGenerator - Class in com.github.drinkjava2.jdialects.id
Generate a Sorted UUID, total length = sortedLength + uuidLength,
for example, SortedUUIDGenerator(5,20):
10001NmpQHeGLy8eozSSq2p1B
10002DLIGkILFISKJF23KLSDF
10003LVBIFI35LDFJIA31KDSF
SortedUUIDGenerator(String, int, int) - Constructor for class com.github.drinkjava2.jdialects.id.SortedUUIDGenerator
 
sortedUUIDGenerator(String, Integer, Integer) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Add a Sequence Generator, note: not all database support sequence
sortStringArray(String[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Turn given source String array into sorted array.
split(String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Split a String at the first occurrence of the delimiter.
split(String, char) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Splits the provided text into an array, separator specified.
split(String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
 
split(String, String, boolean) - Static method in class com.github.drinkjava2.jdialects.StrUtils
 
splitArrayElementsIntoProperties(String[], String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Take an array of strings and split each element based on the given delimiter.
splitArrayElementsIntoProperties(String[], String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Take an array of strings and split each element based on the given delimiter.
SqlFormatter - Class in com.github.drinkjava2.jdialects
 
SqlFormatter() - Constructor for class com.github.drinkjava2.jdialects.SqlFormatter
 
startsWithIgnoreCase(String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Test if the given String starts with the specified prefix, ignoring upper/lower case.
startsWithIgnoreCase(String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Test if the given String starts with the specified prefix, ignoring upper/lower case.
state(boolean, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Assert a boolean expression, throwing an IllegalStateException if the expression evaluates to false.
state(boolean) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.Assert
Deprecated. as of 4.3.7, in favor of state(boolean, String)
strArrayToList(String[]) - Static method in class com.github.drinkjava2.jdialects.ArrayUtils
Transfer a String array to String List
STRING(Integer) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
StringUtils - Class in com.github.drinkjava2.jdialects.springsrc.utils
Miscellaneous String utility methods.
StringUtils() - Constructor for class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
 
stripFilenameExtension(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Strip the filename extension from the given Java resource path, e.g.
strListToArray(List<String>) - Static method in class com.github.drinkjava2.jdialects.ArrayUtils
Transfer a String List to String array
StrUtils - Class in com.github.drinkjava2.jdialects
String Utilities usually used inside of framework
substringAfter(String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Gets the substring after the first occurrence of a separator.
substringAfterLast(String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Gets the substring after the last occurrence of a separator.
substringBefore(String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Gets the substring before the first occurrence of a separator.
substringBeforeLast(String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Gets the substring before the last occurrence of a separator.
substringBetween(String, String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Gets the String that is nested in between two Strings.
substringMatch(CharSequence, int, CharSequence) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Test whether the given string matches the given substring at the given index.
substringsBetween(String, String, String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Searches a String for substrings delimited by a start and end tag, returning all matching substrings in an array.
supportBasicOrPooledSequence() - Method in class com.github.drinkjava2.jdialects.DDLFeatures
 
supportsColumnCheck - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
supportsCommentOn - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
supportsIdentityColumns - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
supportsIfExistsAfterConstraintName - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
supportsIfExistsAfterTableName - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
For dropping a table, can the phrase "if exists" be applied beforeQuery the table name
supportsIfExistsBeforeConstraintName - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
supportsIfExistsBeforeTableName - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
For dropping a table, can the phrase "if exists" be applied afterQuery the table name?
supportsInsertSelectIdentity - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
supportsPooledSequences - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
supportsSequences - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
supportsTableCheck - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 

T

Table - Annotation Type in com.github.drinkjava2.jdialects.annotation.jpa
Specifies the primary table for the annotated entity.
TABLE_AUTOID_INSTANCE - Static variable in class com.github.drinkjava2.jdialects.id.AutoIdGenerator
 
TableGenerator - Annotation Type in com.github.drinkjava2.jdialects.annotation.jpa
Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation.
tableGenerator(String, String, String, String, String, Integer, Integer) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
tableGenerator(String, String, String, String, String, Integer, Integer) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Add a TableGenerator
TableIdGenerator - Class in com.github.drinkjava2.jdialects.id
The platform-independent table model
TableIdGenerator() - Constructor for class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
TableIdGenerator(String, String, String, String, String, Integer, Integer) - Constructor for class com.github.drinkjava2.jdialects.id.TableIdGenerator
 
TableModel - Class in com.github.drinkjava2.jdialects.model
A TableModel definition represents a platform dependent Database Table, from 1.0.5 this class name changed from "Table" to "TableModel" to avoid naming conflict to JPA's "@Table" annotation
TableModel() - Constructor for class com.github.drinkjava2.jdialects.model.TableModel
 
TableModel(String) - Constructor for class com.github.drinkjava2.jdialects.model.TableModel
 
TableModelUtils - Class in com.github.drinkjava2.jdialects
This utility tool to translate Entity class / Database metaData / Excel(will add in future) file to TableModel
TableModelUtils() - Constructor for class com.github.drinkjava2.jdialects.TableModelUtils
 
TableModelUtilsOfDb - Class in com.github.drinkjava2.jdialects
The tool to convert database structure(meta data) to TableModels
TableModelUtilsOfDb() - Constructor for class com.github.drinkjava2.jdialects.TableModelUtilsOfDb
 
TableModelUtilsOfEntity - Class in com.github.drinkjava2.jdialects
The tool to convert entity classes to TableModels
TableModelUtilsOfEntity() - Constructor for class com.github.drinkjava2.jdialects.TableModelUtilsOfEntity
 
TableModelUtilsOfJavaSrc - Class in com.github.drinkjava2.jdialects
The tool to convert TableModel to Java source code
TableModelUtilsOfJavaSrc() - Constructor for class com.github.drinkjava2.jdialects.TableModelUtilsOfJavaSrc
 
tableTypeString - Variable in class com.github.drinkjava2.jdialects.DDLFeatures
 
tail(String) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
Put an extra tail String manually at the end of column definition DDL
throwEX(String, Throwable) - Static method in exception com.github.drinkjava2.jdialects.DialectException
 
throwEX(Throwable) - Static method in exception com.github.drinkjava2.jdialects.DialectException
 
throwEX(String) - Static method in exception com.github.drinkjava2.jdialects.DialectException
 
TIME() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
TIME - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
TIMESTAMP() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
TIMESTAMP - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
timestampGen() - Method in class com.github.drinkjava2.jdialects.id.SnowflakeCreator
get current time stamp
TimeStampId - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
A shortcut annotation equal to @GenertedValue(strategy=GenerationType.TIMESTAMP_ID)
timeStampId() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
TimeStampIdGenerator - Class in com.github.drinkjava2.jdialects.id
This TimeStampGenerator return a long type value based on computer's current time
TimeStampIdGenerator() - Constructor for class com.github.drinkjava2.jdialects.id.TimeStampIdGenerator
 
TINYINT() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
TINYINT - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
toArray(Enumeration<E>, A[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.CollectionUtils
Marshal the elements from the given enumeration into an array of the given type.
toClassArray(Collection<Class<?>>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ClassUtils
Copy the given Collection into a Class array.
toCreateDDL(Dialect, TableModel...) - Static method in class com.github.drinkjava2.jdialects.DDLCreateUtils
Transfer tables to DDL by given dialect and without format it, if want get a formatted DDL, use DDLFormatter.format(DDLs) method to format it
toCreateDDL(Class<?>...) - Method in enum com.github.drinkjava2.jdialects.Dialect
Transfer entity classes to create DDL
toCreateDDL(TableModel...) - Method in enum com.github.drinkjava2.jdialects.Dialect
Transfer tables to create DDL
toDropAndCreateDDL(Class<?>...) - Method in enum com.github.drinkjava2.jdialects.Dialect
Transfer entity classes to drop and create DDL String array
toDropAndCreateDDL(TableModel...) - Method in enum com.github.drinkjava2.jdialects.Dialect
Transfer tables to drop and create DDL String array
toDropDDL(Dialect, TableModel...) - Static method in class com.github.drinkjava2.jdialects.DDLDropUtils
Transfer tables to drop DDL and without format it
toDropDDL(Class<?>...) - Method in enum com.github.drinkjava2.jdialects.Dialect
Transfer entity classes to create DDL
toDropDDL(TableModel...) - Method in enum com.github.drinkjava2.jdialects.Dialect
Transfer tables to drop DDL
tokenizeToStringArray(String, String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Tokenize the given String into a String array via a StringTokenizer.
tokenizeToStringArray(String, String, boolean, boolean) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Tokenize the given String into a String array via a StringTokenizer.
toLanguageTag(Locale) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Determine the RFC 3066 compliant language tag, as used for the HTTP "Accept-Language" header.
toLowerCaseFirstOne(String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
First letter change to lower
toObjectArray(Object) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.ObjectUtils
Convert the given array (which may be a primitive array) to an object array (if necessary of primitive wrapper objects).
toString() - Method in class com.github.drinkjava2.jdialects.id.SnowflakeCreator
show settings of Snowflake
toString() - Method in class com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Entry
 
toStringArray(Collection<String>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Copy the given Collection into a String array.
toStringArray(Enumeration<String>) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Copy the given Enumeration into a String array.
toType(Class<?>) - Static method in class com.github.drinkjava2.jdialects.TypeUtils
Convert a Class type to Dialect's Type
toType(String) - Static method in class com.github.drinkjava2.jdialects.TypeUtils
Convert column definition String to Dialect's Type
toUpperCaseFirstOne(String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
First letter change to capitalised
trans(String...) - Method in interface com.github.drinkjava2.jdialects.CommonDialect
Translate a SQL to native SQL, i.e., all functions written by universal function format will be transfer to a native SQL function, for example, concat('a','b') in some dialects will be changed to 'a'+'b'
trans(String...) - Method in enum com.github.drinkjava2.jdialects.Dialect
 
Transient - Annotation Type in com.github.drinkjava2.jdialects.annotation.jpa
Specifies that the property or field is not persistent.
translateToDDLType(Type, Integer...) - Method in enum com.github.drinkjava2.jdialects.Dialect
Transfer com.github.drinkjava2.jdialects.Type to a real dialect's type definition DDL String, lengths is optional for some types
trimAllWhitespace(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Trim all whitespace from the given String: leading, trailing, and in between characters.
trimAllWhitespace(String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Trim all whitespace from the given String: leading, trailing, and in between characters.
trimArrayElements(String[]) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Trim the elements of the given String array, calling String.trim() on each of them.
trimLeadingCharacter(String, char) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Trim all occurrences of the supplied leading character from the given String.
trimLeadingCharacter(String, char) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Trim all occurrences of the supplied leading character from the given String.
trimLeadingWhitespace(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Trim leading whitespace from the given String.
trimLeadingWhitespace(String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Trim leading whitespace from the given String.
trimTrailingCharacter(String, char) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Trim all occurrences of the supplied trailing character from the given String.
trimTrailingCharacter(String, char) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Trim all occurrences of the supplied trailing character from the given String.
trimTrailingWhitespace(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Trim trailing whitespace from the given String.
trimTrailingWhitespace(String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Trim trailing whitespace from the given String.
trimWhitespace(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Trim leading and trailing whitespace from the given String.
trimWhitespace(String) - Static method in class com.github.drinkjava2.jdialects.StrUtils
Trim leading and trailing whitespace from the given String.
Type - Enum in com.github.drinkjava2.jdialects
SQL Type definitions
typeMappings - Variable in enum com.github.drinkjava2.jdialects.Dialect
 
TypeUtils - Class in com.github.drinkjava2.jdialects
SQL Type definitions
TypeUtils() - Constructor for class com.github.drinkjava2.jdialects.TypeUtils
 

U

uncapitalize(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Uncapitalize a String, changing the first letter to lower case as per Character.toLowerCase(char).
unique() - Method in class com.github.drinkjava2.jdialects.model.IndexModel
 
unique() - Method in class com.github.drinkjava2.jdialects.model.TableModel
Start add a unique constraint in DDL, detail usage see demo
unique(String) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Start add a unique constraint in DDL, detail usage see demo
UniqueConstraint - Annotation Type in com.github.drinkjava2.jdialects.annotation.jpa
Specifies that a unique constraint is to be included in the generated DDL for a primary or secondary table.
uniqueMethodCache - Static variable in class com.github.drinkjava2.jdialects.ClassCacheUtils
 
UniqueModel - Class in com.github.drinkjava2.jdialects.model
The platform-independent Unique Constraint model
UniqueModel() - Constructor for class com.github.drinkjava2.jdialects.model.UniqueModel
 
UniqueModel(String) - Constructor for class com.github.drinkjava2.jdialects.model.UniqueModel
 
unqualify(String) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Unqualify a string qualified by a '.' dot character.
unqualify(String, char) - Static method in class com.github.drinkjava2.jdialects.springsrc.utils.StringUtils
Unqualify a string qualified by a separator character.
updatable(Boolean) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
Mark a field updatable=true, only for JPA or ORM tool use
USER_DECLARED_METHODS - Static variable in class com.github.drinkjava2.jdialects.springsrc.utils.ReflectionUtils
Pre-built MethodFilter that matches all non-bridge methods which are not declared on java.lang.Object.
UUID25 - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
A shortcut annotation equal to @GenertedValue(strategy=GenerationType.UUID25)
uuid25() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
UUID25Generator - Class in com.github.drinkjava2.jdialects.id
Compress JDK UUID to 25 letters based on radix 36, use 0-9 a-z characters, example: pbicz3grgu0zk3ipe1yur03h7
UUID25Generator() - Constructor for class com.github.drinkjava2.jdialects.id.UUID25Generator
 
UUID32 - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
A shortcut annotation equal to @GenertedValue(strategy=GenerationType.UUID32)
uuid32() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
UUID32Generator - Class in com.github.drinkjava2.jdialects.id
Generate a JDK 32 letters random UUID based on Base16 encoding, example: bca5414e9b1b4bdfa257125e05428b92
UUID32Generator() - Constructor for class com.github.drinkjava2.jdialects.id.UUID32Generator
 
UUID36 - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
A shortcut annotation equal to @GenertedValue(strategy=GenerationType.UUID36)
uuid36() - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
UUID36Generator - Class in com.github.drinkjava2.jdialects.id
Generate a JDK 36 letters random UUID generated by UUID.randomUUID().toString(), for example:
d3ad36c0-c6c2-495c-a414-b9cc4a0a7a93
UUID36Generator() - Constructor for class com.github.drinkjava2.jdialects.id.UUID36Generator
 
UUIDAny - Annotation Type in com.github.drinkjava2.jdialects.annotation.jdia
Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation.
uuidAny(String, Integer) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
uuidAny(String, Integer) - Method in class com.github.drinkjava2.jdialects.model.TableModel
Add a UUIDAnyGenerator
UUIDAnyGenerator - Class in com.github.drinkjava2.jdialects.id
Generate any length UUID String based on radix 36, use 0-9 a-z characters
Default length is 20;
UUIDAnyGenerator() - Constructor for class com.github.drinkjava2.jdialects.id.UUIDAnyGenerator
 
UUIDAnyGenerator(String, Integer) - Constructor for class com.github.drinkjava2.jdialects.id.UUIDAnyGenerator
Build a give length UUID Generator

V

valueOf(String) - Static method in enum com.github.drinkjava2.jdialects.annotation.jpa.GenerationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.drinkjava2.jdialects.Dialect
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.ReferenceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Restructure
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.drinkjava2.jdialects.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.drinkjava2.jdialects.annotation.jpa.GenerationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.drinkjava2.jdialects.Dialect
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.ReferenceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.drinkjava2.jdialects.springsrc.utils.ConcurrentReferenceHashMap.Restructure
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.drinkjava2.jdialects.Type
Returns an array containing the constants of this enum type, in the order they are declared.
VARBINARY(Integer...) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
VARBINARY - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 
VARCHAR(Integer) - Method in class com.github.drinkjava2.jdialects.model.ColumnModel
 
VARCHAR - Static variable in class com.github.drinkjava2.jdialects.TypeUtils
 

W

waitNextMillis(long) - Method in class com.github.drinkjava2.jdialects.id.SnowflakeCreator
running loop blocking until next millisecond
warn(String) - Method in class com.github.drinkjava2.jdialects.DialectLogger
 
WHITESPACE - Static variable in class com.github.drinkjava2.jdialects.StrUtils
 
writeValueToBeanField(Object, String, Object) - Static method in class com.github.drinkjava2.jdialects.ClassCacheUtils
write value to entityBean field

A B C D E F G H I J L M N O P Q R S T U V W

Copyright © 2018. All rights reserved.