Class Index
java.lang.Object
net.sf.jsqlparser.statement.create.table.Index
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExcludeConstraint
,NamedConstraint
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddColumns
(Collection<? extends Index.ColumnParams> functionDeclarationParts) addColumns
(Index.ColumnParams... functionDeclarationParts) Deprecated.getName()
getType()
getUsing()
void
Deprecated.void
setColumns
(List<Index.ColumnParams> columns) void
setColumnsNames
(List<String> list) void
setCommentText
(String commentText) void
setIndexSpec
(List<String> idxSpec) void
void
void
void
In postgresql, the index type (Btree, GIST, etc.) is indicated with a USING clause.toString()
withColumns
(List<Index.ColumnParams> columns) withColumnsNames
(List<String> list) withIndexSpec
(List<String> idxSpec)
-
Field Details
-
type
-
using
-
columns
-
name
-
idxSpec
-
commentText
-
-
Constructor Details
-
Index
public Index()
-
-
Method Details
-
getColumnsNames
-
getColumnWithParams
Deprecated. -
setColumnNamesWithParams
Deprecated. -
getColumns
-
setColumns
-
withColumns
-
addColumns
-
addColumns
-
getName
-
getNameParts
-
getType
-
setUsing
In postgresql, the index type (Btree, GIST, etc.) is indicated with a USING clause. Please note that: Oracle - the type might be BITMAP, indicating a bitmap kind of index MySQL - the type might be FULLTEXT or SPATIAL- Parameters:
using
-
-
setColumnsNames
-
withColumnsNames
-
setName
-
setName
-
setType
-
getUsing
-
getIndexSpec
-
setIndexSpec
-
withIndexSpec
-
toString
-
withType
-
withUsing
-
withName
-
withName
-
getCommentText
-
setCommentText
-