Class IndexMetadata
java.lang.Object
org.eclipse.dirigible.database.api.metadata.IndexMetadata
public class IndexMetadata extends Object
The Index Metadata transport object.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description intgetCardinality()Gets the cardinality.StringgetColumn()Gets the column.StringgetFilterCondition()Gets the filter condition.StringgetKind()Gets the kind.StringgetName()Gets the name.StringgetOrdinalPosition()Gets the ordinal position.intgetPages()Gets the pages.StringgetQualifier()Gets the qualifier.StringgetSortOrder()Gets the sort order.StringgetType()Gets the type.booleanisNonUnique()Checks if is non unique.voidsetCardinality(int cardinality)Sets the cardinality.voidsetColumn(String column)Sets the column.voidsetFilterCondition(String filterCondition)Sets the filter condition.voidsetKind(String kind)Sets the kind.voidsetName(String name)Sets the name.voidsetNonUnique(boolean nonUnique)Sets the non unique.voidsetOrdinalPosition(String ordinalPosition)Sets the ordinal position.voidsetPages(int pages)Sets the pages.voidsetQualifier(String qualifier)Sets the qualifier.voidsetSortOrder(String sortOrder)Sets the sort order.voidsetType(String type)Sets the type.
-
Constructor Details
-
IndexMetadata
public IndexMetadata(String name, String type, String column, boolean nonUnique, String qualifier, String ordinalPosition, String sortOrder, int cardinality, int pages, String filterCondition)Instantiates a new index metadata.- Parameters:
name- the nametype- the typecolumn- the columnnonUnique- the non uniquequalifier- the qualifierordinalPosition- the ordinal positionsortOrder- the sort ordercardinality- the cardinalitypages- the pagesfilterCondition- the filter condition
-
-
Method Details
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getColumn
Gets the column.- Returns:
- the column
-
setColumn
Sets the column.- Parameters:
column- the new column
-
isNonUnique
public boolean isNonUnique()Checks if is non unique.- Returns:
- true, if is non unique
-
setNonUnique
public void setNonUnique(boolean nonUnique)Sets the non unique.- Parameters:
nonUnique- the new non unique
-
getQualifier
Gets the qualifier.- Returns:
- the qualifier
-
setQualifier
Sets the qualifier.- Parameters:
qualifier- the new qualifier
-
getOrdinalPosition
Gets the ordinal position.- Returns:
- the ordinal position
-
setOrdinalPosition
Sets the ordinal position.- Parameters:
ordinalPosition- the new ordinal position
-
getSortOrder
Gets the sort order.- Returns:
- the sort order
-
setSortOrder
Sets the sort order.- Parameters:
sortOrder- the new sort order
-
getCardinality
public int getCardinality()Gets the cardinality.- Returns:
- the cardinality
-
setCardinality
public void setCardinality(int cardinality)Sets the cardinality.- Parameters:
cardinality- the new cardinality
-
getPages
public int getPages()Gets the pages.- Returns:
- the pages
-
setPages
public void setPages(int pages)Sets the pages.- Parameters:
pages- the new pages
-
getFilterCondition
Gets the filter condition.- Returns:
- the filter condition
-
setFilterCondition
Sets the filter condition.- Parameters:
filterCondition- the new filter condition
-
getKind
Gets the kind.- Returns:
- the kind
-
setKind
Sets the kind.- Parameters:
kind- the new kind
-