com.metamatrix.common.jdbc.metadata
Class Index
java.lang.Object
com.metamatrix.common.jdbc.metadata.JDBCObject
com.metamatrix.common.jdbc.metadata.ColumnSet
com.metamatrix.common.jdbc.metadata.Index
public class Index
- extends ColumnSet
Constructor Summary |
Index()
|
Index(java.lang.String name)
|
Index(java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String name)
|
Methods inherited from class com.metamatrix.common.jdbc.metadata.ColumnSet |
add, addAll, addColumn, contains, getCatalogName, getColumnNames, getColumns, getFullName, getSchemaName, hasMatchingColumns, lookupColumn, remove, removeColumn |
Methods inherited from class com.metamatrix.common.jdbc.metadata.JDBCObject |
addFullName, getFullName, getName, getOriginalNameNull, getOwner, getProperties, getProperty, hasName, hasOwner, hasProperties, isMarked, lookupJDBCObject, removeProperty, setMarked, setName, setOriginalNameNull, setProperty, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Index
public Index()
Index
public Index(java.lang.String name)
Index
public Index(java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String name)
getTableName
public java.lang.String getTableName()
setQualifier
public void setQualifier(java.lang.String qualifier)
getQualifier
public java.lang.String getQualifier()
isUnique
public boolean isUnique()
setUnique
public void setUnique(boolean unique)
getType
public IndexType getType()
setType
public void setType(IndexType type)
getCardinality
public int getCardinality()
setCardinality
public void setCardinality(int cardinality)
getPages
public int getPages()
setPages
public void setPages(int pages)
getFilterCondition
public java.lang.String getFilterCondition()
setFilterCondition
public void setFilterCondition(java.lang.String filterCondition)
generateName
public boolean generateName()
print
public void print(java.io.PrintStream stream)
- Overrides:
print
in class JDBCObject
print
public void print(java.io.PrintStream stream,
java.lang.String lead)
- Overrides:
print
in class JDBCObject
getApproximation
public boolean getApproximation()
- Obtain whether the values were allowed to be an approximation when
originally requested.
- Returns:
- Returns a boolean
setApproximation
public void setApproximation(boolean approximation)
- Set whether the values were allowed to be an approximation when
originally requested.
- Parameters:
approximation
- The approximation to set
Copyright © 2009. All Rights Reserved.