java.lang.Object
com.microsoft.azure.management.datalake.analytics.models.USqlIndex

public class USqlIndex extends Object
A Data Lake Analytics catalog U-SQL table index item.
  • Constructor Details

    • USqlIndex

      public USqlIndex()
  • Method Details

    • name

      public String name()
      Get the name of the index in the table.
      Returns:
      the name value
    • withName

      public USqlIndex withName(String name)
      Set the name of the index in the table.
      Parameters:
      name - the name value to set
      Returns:
      the USqlIndex object itself.
    • indexKeys

      public List<USqlDirectedColumn> indexKeys()
      Get the list of directed columns in the index.
      Returns:
      the indexKeys value
    • withIndexKeys

      public USqlIndex withIndexKeys(List<USqlDirectedColumn> indexKeys)
      Set the list of directed columns in the index.
      Parameters:
      indexKeys - the indexKeys value to set
      Returns:
      the USqlIndex object itself.
    • columns

      public List<String> columns()
      Get the list of columns in the index.
      Returns:
      the columns value
    • withColumns

      public USqlIndex withColumns(List<String> columns)
      Set the list of columns in the index.
      Parameters:
      columns - the columns value to set
      Returns:
      the USqlIndex object itself.
    • distributionInfo

      public USqlDistributionInfo distributionInfo()
      Get the distributions info of the index.
      Returns:
      the distributionInfo value
    • withDistributionInfo

      public USqlIndex withDistributionInfo(USqlDistributionInfo distributionInfo)
      Set the distributions info of the index.
      Parameters:
      distributionInfo - the distributionInfo value to set
      Returns:
      the USqlIndex object itself.
    • partitionFunction

      public UUID partitionFunction()
      Get partition function ID for the index.
      Returns:
      the partitionFunction value
    • withPartitionFunction

      public USqlIndex withPartitionFunction(UUID partitionFunction)
      Set partition function ID for the index.
      Parameters:
      partitionFunction - the partitionFunction value to set
      Returns:
      the USqlIndex object itself.
    • partitionKeyList

      public List<String> partitionKeyList()
      Get the list of partion keys in the index.
      Returns:
      the partitionKeyList value
    • withPartitionKeyList

      public USqlIndex withPartitionKeyList(List<String> partitionKeyList)
      Set the list of partion keys in the index.
      Parameters:
      partitionKeyList - the partitionKeyList value to set
      Returns:
      the USqlIndex object itself.
    • streamNames

      public List<String> streamNames()
      Get the list of full paths to the streams that contain this index in the DataLake account.
      Returns:
      the streamNames value
    • withStreamNames

      public USqlIndex withStreamNames(List<String> streamNames)
      Set the list of full paths to the streams that contain this index in the DataLake account.
      Parameters:
      streamNames - the streamNames value to set
      Returns:
      the USqlIndex object itself.
    • isColumnstore

      public Boolean isColumnstore()
      Get the switch indicating if this index is a columnstore index.
      Returns:
      the isColumnstore value
    • withIsColumnstore

      public USqlIndex withIsColumnstore(Boolean isColumnstore)
      Set the switch indicating if this index is a columnstore index.
      Parameters:
      isColumnstore - the isColumnstore value to set
      Returns:
      the USqlIndex object itself.
    • indexId

      public Integer indexId()
      Get the ID of this index within the table.
      Returns:
      the indexId value
    • withIndexId

      public USqlIndex withIndexId(Integer indexId)
      Set the ID of this index within the table.
      Parameters:
      indexId - the indexId value to set
      Returns:
      the USqlIndex object itself.
    • isUnique

      public Boolean isUnique()
      Get the switch indicating if this index is a unique index.
      Returns:
      the isUnique value
    • withIsUnique

      public USqlIndex withIsUnique(Boolean isUnique)
      Set the switch indicating if this index is a unique index.
      Parameters:
      isUnique - the isUnique value to set
      Returns:
      the USqlIndex object itself.