public class IndexSpecification extends Object implements Serializable
The default behavior is to create a non-unique non partitioned index.
Modifier and Type | Field and Description |
---|---|
protected String[] |
m_Columns
The columns of the index
|
protected boolean |
m_IsPartitioned
Is the index partitioned.
|
protected boolean |
m_IsUnique
Is the index unique.
|
protected String |
m_Name
The index name
|
Constructor and Description |
---|
IndexSpecification()
default constructor.
|
IndexSpecification(String name,
String[] columns) |
IndexSpecification(String name,
String[] columns,
boolean isUniq,
boolean isPartitioned) |
Modifier and Type | Method and Description |
---|---|
String[] |
getColumns() |
String |
getCreateStatement(String tableName,
boolean tabIsPartitioned) |
String |
getName() |
boolean |
isPartitioned() |
boolean |
isUnique() |
void |
setColumns(String[] columns) |
void |
setName(String name) |
void |
setPartitioned(boolean partition) |
void |
setUnique(boolean uniq) |
protected String[] m_Columns
protected String m_Name
protected boolean m_IsUnique
protected boolean m_IsPartitioned
public IndexSpecification() throws IfsException
IfsException
public IndexSpecification(String name, String[] columns) throws IfsException
IfsException
public IndexSpecification(String name, String[] columns, boolean isUniq, boolean isPartitioned) throws IfsException
IfsException
public String getName()
public void setName(String name) throws IfsException
IfsException
public String[] getColumns()
public void setColumns(String[] columns) throws IfsException
IfsException
public boolean isUnique()
public void setUnique(boolean uniq)
public boolean isPartitioned()
public void setPartitioned(boolean partition)
public String getCreateStatement(String tableName, boolean tabIsPartitioned) throws IfsException
IfsException
Copyright © 2023. All rights reserved.