public final class IndexInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name
the index name
|
short |
type
the index type
|
boolean |
unique
is unique ?
Not unreliable in MYSQL.
|
Constructor and Description |
---|
IndexInfo(java.lang.String name,
short type,
boolean unique)
The index info
|
Modifier and Type | Method and Description |
---|---|
void |
addColumn(java.lang.String name,
int seq,
IndexColumnInfo.ORDER order)
Add the column
|
void |
complete()
completed
|
IndexColumnInfo[] |
getColumns()
get the columns
|
public final java.lang.String name
public final short type
public final boolean unique
public IndexInfo(java.lang.String name, short type, boolean unique)
name
- the nametype
- the typeunique
- is uniquepublic void addColumn(java.lang.String name, int seq, IndexColumnInfo.ORDER order)
name
- the nameseq
- the sequenceorder
- the orderpublic void complete()
public IndexColumnInfo[] getColumns()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.