public class Index
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
AME_INDEX_BAD_COLUMNS |
protected boolean |
ifNotExists |
protected java.lang.String[] |
indexColumns |
protected java.lang.String |
indexName |
protected java.lang.String |
schemaName |
protected java.lang.String |
tableName |
protected boolean |
unique |
protected java.util.HashSet<java.lang.String> |
uniqueIndexColumns |
protected java.lang.String |
whereExpression |
Constructor and Description |
---|
Index(boolean unique,
boolean ifNotExists,
java.lang.String schemaName,
java.lang.String indexName,
java.lang.String tableName,
java.lang.String[] indexColumns,
java.lang.String whereExpression) |
Index(INDEX tableIndex,
java.lang.String schemaName,
java.lang.String tableName) |
Index(ONE_COLUMN_INDEX tableIndex,
java.lang.String indexColumn,
java.lang.String schemaName,
java.lang.String tableName) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
generateIndexName(java.lang.String schemaName,
java.lang.String tableName,
java.lang.String[] indexColumns,
boolean unique) |
java.util.Set<java.lang.String> |
getIndexColumsSet() |
java.lang.String |
getIndexName() |
java.lang.String |
getSchemaName() |
java.lang.String |
getTableName() |
java.lang.String |
toString() |
java.lang.String |
toString(boolean skipSchemaName) |
protected final boolean unique
protected final boolean ifNotExists
protected final java.lang.String schemaName
protected final java.lang.String indexName
protected final java.lang.String tableName
protected final java.lang.String[] indexColumns
protected final java.lang.String whereExpression
protected final java.util.HashSet<java.lang.String> uniqueIndexColumns
protected static final java.lang.String AME_INDEX_BAD_COLUMNS
public Index(boolean unique, boolean ifNotExists, java.lang.String schemaName, java.lang.String indexName, java.lang.String tableName, java.lang.String[] indexColumns, java.lang.String whereExpression)
public Index(INDEX tableIndex, java.lang.String schemaName, java.lang.String tableName)
public Index(ONE_COLUMN_INDEX tableIndex, java.lang.String indexColumn, java.lang.String schemaName, java.lang.String tableName)
protected java.lang.String generateIndexName(java.lang.String schemaName, java.lang.String tableName, java.lang.String[] indexColumns, boolean unique)
public final java.util.Set<java.lang.String> getIndexColumsSet()
public final java.lang.String getIndexName()
public final java.lang.String getSchemaName()
public final java.lang.String getTableName()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean skipSchemaName)