java.lang.Object
org.jooq.meta.AbstractDefinition
org.jooq.meta.AbstractIndexDefinition
- All Implemented Interfaces:
Definition,IndexDefinition,TableElementDefinition
- Author:
- Lukas Eder
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractIndexDefinition(SchemaDefinition schema, String name, TableDefinition table, boolean unique) AbstractIndexDefinition(SchemaDefinition schema, String name, TableDefinition table, boolean unique, String comment) -
Method Summary
Modifier and TypeMethodDescriptionThe list of columns making up the index.protected abstract List<IndexColumnDefinition>getTable()The table that this object is part of.booleanisUnique()Whether this is a unique index.Methods inherited from class org.jooq.meta.AbstractDefinition
create, create, equals, getCatalog, getComment, getConnection, getDatabase, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jooq.meta.Definition
getCatalog, getComment, getDatabase, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, isSynthetic
-
Constructor Details
-
AbstractIndexDefinition
public AbstractIndexDefinition(SchemaDefinition schema, String name, TableDefinition table, boolean unique) -
AbstractIndexDefinition
public AbstractIndexDefinition(SchemaDefinition schema, String name, TableDefinition table, boolean unique, String comment)
-
-
Method Details
-
getDefinitionPath
- Specified by:
getDefinitionPathin interfaceDefinition- Overrides:
getDefinitionPathin classAbstractDefinition- Returns:
- A path of definitions for this definition, e.g.
[schema].[package].[routine].[parameter]
-
getTable
Description copied from interface:TableElementDefinitionThe table that this object is part of.- Specified by:
getTablein interfaceTableElementDefinition
-
getIndexColumns
Description copied from interface:IndexDefinitionThe list of columns making up the index.- Specified by:
getIndexColumnsin interfaceIndexDefinition
-
getIndexColumns0
-
isUnique
public boolean isUnique()Description copied from interface:IndexDefinitionWhether this is a unique index.- Specified by:
isUniquein interfaceIndexDefinition
-