com.metamatrix.common.jdbc.metadata
Class Index

java.lang.Object
  extended by com.metamatrix.common.jdbc.metadata.JDBCObject
      extended by com.metamatrix.common.jdbc.metadata.ColumnSet
          extended by com.metamatrix.common.jdbc.metadata.Index

public class Index
extends ColumnSet


Field Summary
 
Fields inherited from class com.metamatrix.common.jdbc.metadata.JDBCObject
DELIMITER
 
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)
           
 
Method Summary
 boolean generateName()
           
 boolean getApproximation()
          Obtain whether the values were allowed to be an approximation when originally requested.
 int getCardinality()
           
 java.lang.String getFilterCondition()
           
 int getPages()
           
 java.lang.String getQualifier()
           
 java.lang.String getTableName()
           
 IndexType getType()
           
 boolean isUnique()
           
 void print(java.io.PrintStream stream)
           
 void print(java.io.PrintStream stream, java.lang.String lead)
           
 void setApproximation(boolean approximation)
          Set whether the values were allowed to be an approximation when originally requested.
 void setCardinality(int cardinality)
           
 void setFilterCondition(java.lang.String filterCondition)
           
 void setPages(int pages)
           
 void setQualifier(java.lang.String qualifier)
           
 void setType(IndexType type)
           
 void setUnique(boolean unique)
           
 
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
 

Constructor Detail

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)
Method Detail

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.