public class IndexDesc extends Object implements ProtoObject<CatalogProtos.IndexDescProto>, Cloneable
Constructor and Description |
---|
IndexDesc() |
IndexDesc(CatalogProtos.IndexDescProto proto) |
IndexDesc(String idxName,
String databaseName,
String tableName,
Column column,
CatalogProtos.IndexMethod type,
boolean isUnique,
boolean isClustered,
boolean isAscending) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object obj) |
Column |
getColumn() |
CatalogProtos.IndexMethod |
getIndexMethod() |
String |
getIndexName() |
CatalogProtos.IndexDescProto |
getProto() |
String |
getTableName() |
int |
hashCode() |
boolean |
isAscending() |
boolean |
isClustered() |
boolean |
isUnique() |
String |
toString() |
public IndexDesc()
public IndexDesc(String idxName, String databaseName, String tableName, Column column, CatalogProtos.IndexMethod type, boolean isUnique, boolean isClustered, boolean isAscending)
public IndexDesc(CatalogProtos.IndexDescProto proto)
public String getIndexName()
public String getTableName()
public Column getColumn()
public CatalogProtos.IndexMethod getIndexMethod()
public boolean isClustered()
public boolean isUnique()
public boolean isAscending()
public CatalogProtos.IndexDescProto getProto()
getProto
in interface ProtoObject<CatalogProtos.IndexDescProto>
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.