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