public class SQLBuilderBase.CreateIndexBuilderBase extends SQLBuilderBase.AbstractStatement implements SQLBuilder.CreateIndexBuilder
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
columns |
protected boolean |
ifNotExist |
protected java.lang.String |
indexName |
protected boolean |
isSpatial |
protected boolean |
isUnique |
protected SQLBuilder.TableNameBuilder |
table |
protected FeatureType |
type |
properties
Constructor and Description |
---|
CreateIndexBuilderBase() |
Modifier and Type | Method and Description |
---|---|
void |
accept(ExpressionBuilder.Visitor visitor,
ExpressionBuilder.VisitorFilter filter) |
SQLBuilder.CreateIndexBuilder |
column(java.lang.String name) |
SQLBuilder.CreateIndexBuilder |
if_not_exist() |
SQLBuilder.CreateIndexBuilder |
name(java.lang.String name) |
SQLBuilder.CreateIndexBuilder |
name(java.lang.String tableName,
java.lang.String columnName) |
void |
setFeatureType(FeatureType type) |
SQLBuilder.CreateIndexBuilder |
spatial() |
SQLBuilder.TableNameBuilder |
table() |
java.lang.String |
toString() |
java.lang.String |
toString(Formatter<ExpressionBuilder.Value> formatter) |
java.util.List<java.lang.String> |
toStrings() |
java.util.List<java.lang.String> |
toStrings(Formatter formatter) |
SQLBuilder.CreateIndexBuilder |
unique() |
clone
copyPropertiesFrom, getProperties, getProperty, replace, setProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, copyPropertiesFrom, replace
getProperties, getProperty, setProperty
cloneQuietly, cloneQuietly
protected boolean ifNotExist
protected boolean isUnique
protected java.lang.String indexName
protected boolean isSpatial
protected SQLBuilder.TableNameBuilder table
protected final java.util.List<java.lang.String> columns
protected FeatureType type
public SQLBuilder.CreateIndexBuilder unique()
unique
in interface SQLBuilder.CreateIndexBuilder
public SQLBuilder.CreateIndexBuilder if_not_exist()
if_not_exist
in interface SQLBuilder.CreateIndexBuilder
public SQLBuilder.CreateIndexBuilder name(java.lang.String name)
name
in interface SQLBuilder.CreateIndexBuilder
public SQLBuilder.CreateIndexBuilder name(java.lang.String tableName, java.lang.String columnName)
name
in interface SQLBuilder.CreateIndexBuilder
public SQLBuilder.CreateIndexBuilder spatial()
spatial
in interface SQLBuilder.CreateIndexBuilder
public SQLBuilder.CreateIndexBuilder column(java.lang.String name)
column
in interface SQLBuilder.CreateIndexBuilder
public SQLBuilder.TableNameBuilder table()
table
in interface SQLBuilder.CreateIndexBuilder
public void setFeatureType(FeatureType type)
setFeatureType
in interface SQLBuilder.CreateIndexBuilder
public void accept(ExpressionBuilder.Visitor visitor, ExpressionBuilder.VisitorFilter filter)
accept
in interface ExpressionBuilder.Visitable
accept
in class ExpressionBuilder.AbstractValue
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(Formatter<ExpressionBuilder.Value> formatter)
toString
in interface ExpressionBuilder.Value
public java.util.List<java.lang.String> toStrings()
toStrings
in interface SQLBuilder.CreateIndexBuilder
public java.util.List<java.lang.String> toStrings(Formatter formatter)
toStrings
in interface SQLBuilder.CreateIndexBuilder