- java.lang.Object
-
- net.sf.jsqlparser.statement.create.table.Index
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExcludeConstraint
,NamedConstraint
public class Index extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Index.ColumnParams
-
Constructor Summary
Constructors Constructor Description Index()
-
Method Summary
-
-
-
Method Detail
-
getColumnWithParams
@Deprecated public List<Index.ColumnParams> getColumnWithParams()
Deprecated.
-
setColumnNamesWithParams
@Deprecated public void setColumnNamesWithParams(List<Index.ColumnParams> list)
Deprecated.
-
getColumns
public List<Index.ColumnParams> getColumns()
-
setColumns
public void setColumns(List<Index.ColumnParams> columns)
-
withColumns
public Index withColumns(List<Index.ColumnParams> columns)
-
addColumns
public Index addColumns(Index.ColumnParams... functionDeclarationParts)
-
addColumns
public Index addColumns(Collection<? extends Index.ColumnParams> functionDeclarationParts)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getType
public String getType()
-
setType
public void setType(String string)
-
getUsing
public String getUsing()
-
setUsing
public void setUsing(String using)
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
-
-
getCommentText
public String getCommentText()
-
setCommentText
public void setCommentText(String commentText)
-
-