public class USqlIndex extends Object
Constructor and Description |
---|
USqlIndex() |
Modifier and Type | Method and Description |
---|---|
List<String> |
columns()
Get the list of columns in the index.
|
USqlDistributionInfo |
distributionInfo()
Get the distributions info of the index.
|
Integer |
indexId()
Get the ID of this index within the table.
|
List<USqlDirectedColumn> |
indexKeys()
Get the list of directed columns in the index.
|
Boolean |
isColumnstore()
Get the switch indicating if this index is a columnstore index.
|
Boolean |
isUnique()
Get the switch indicating if this index is a unique index.
|
String |
name()
Get the name of the index in the table.
|
UUID |
partitionFunction()
Get partition function ID for the index.
|
List<String> |
partitionKeyList()
Get the list of partion keys in the index.
|
List<String> |
streamNames()
Get the list of full paths to the streams that contain this index in the DataLake account.
|
USqlIndex |
withColumns(List<String> columns)
Set the list of columns in the index.
|
USqlIndex |
withDistributionInfo(USqlDistributionInfo distributionInfo)
Set the distributions info of the index.
|
USqlIndex |
withIndexId(Integer indexId)
Set the ID of this index within the table.
|
USqlIndex |
withIndexKeys(List<USqlDirectedColumn> indexKeys)
Set the list of directed columns in the index.
|
USqlIndex |
withIsColumnstore(Boolean isColumnstore)
Set the switch indicating if this index is a columnstore index.
|
USqlIndex |
withIsUnique(Boolean isUnique)
Set the switch indicating if this index is a unique index.
|
USqlIndex |
withName(String name)
Set the name of the index in the table.
|
USqlIndex |
withPartitionFunction(UUID partitionFunction)
Set partition function ID for the index.
|
USqlIndex |
withPartitionKeyList(List<String> partitionKeyList)
Set the list of partion keys in the index.
|
USqlIndex |
withStreamNames(List<String> streamNames)
Set the list of full paths to the streams that contain this index in the DataLake account.
|
public String name()
public USqlIndex withName(String name)
name
- the name value to setpublic List<USqlDirectedColumn> indexKeys()
public USqlIndex withIndexKeys(List<USqlDirectedColumn> indexKeys)
indexKeys
- the indexKeys value to setpublic List<String> columns()
public USqlIndex withColumns(List<String> columns)
columns
- the columns value to setpublic USqlDistributionInfo distributionInfo()
public USqlIndex withDistributionInfo(USqlDistributionInfo distributionInfo)
distributionInfo
- the distributionInfo value to setpublic UUID partitionFunction()
public USqlIndex withPartitionFunction(UUID partitionFunction)
partitionFunction
- the partitionFunction value to setpublic List<String> partitionKeyList()
public USqlIndex withPartitionKeyList(List<String> partitionKeyList)
partitionKeyList
- the partitionKeyList value to setpublic List<String> streamNames()
public USqlIndex withStreamNames(List<String> streamNames)
streamNames
- the streamNames value to setpublic Boolean isColumnstore()
public USqlIndex withIsColumnstore(Boolean isColumnstore)
isColumnstore
- the isColumnstore value to setpublic Integer indexId()
public USqlIndex withIndexId(Integer indexId)
indexId
- the indexId value to setpublic Boolean isUnique()
Copyright © 2019. All rights reserved.