Class GatherTablesDataModelVisitor
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.postgres.GatherTablesDataModelVisitor
-
- All Implemented Interfaces:
DataModelVisitor
public class GatherTablesDataModelVisitor extends java.lang.Object implements DataModelVisitor
Manages setting the Vacuum Settings on the Physical Data Model
-
-
Constructor Summary
Constructors Constructor Description GatherTablesDataModelVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Table>
getTables()
gets the list of tablesvoid
nop()
A NOP (no operation).void
visited(AlterSequenceStartWith alterSequence)
void
visited(AlterTableIdentityCache alterTable)
void
visited(CreateIndex createIndex)
void
visited(FunctionDef functionDef)
void
visited(ProcedureDef procedureDef)
Process a ProcedureDef from the model.void
visited(Sequence sequence)
void
visited(Table tbl)
Process aTable
from the modelvoid
visited(Table fromChildTable, ForeignKeyConstraint fk)
Process a foreign key constraint from the modelvoid
visited(Tablespace tablespace)
-
-
-
Method Detail
-
getTables
public java.util.List<Table> getTables()
gets the list of tables- Returns:
- 0..* tables
-
visited
public void visited(Table tbl)
Description copied from interface:DataModelVisitor
Process aTable
from the model- Specified by:
visited
in interfaceDataModelVisitor
-
visited
public void visited(Table fromChildTable, ForeignKeyConstraint fk)
Description copied from interface:DataModelVisitor
Process a foreign key constraint from the model- Specified by:
visited
in interfaceDataModelVisitor
-
nop
public void nop()
Description copied from interface:DataModelVisitor
A NOP (no operation). Should do nothing, but we let the visitor implementation decide.- Specified by:
nop
in interfaceDataModelVisitor
-
visited
public void visited(ProcedureDef procedureDef)
Description copied from interface:DataModelVisitor
Process a ProcedureDef from the model.- Specified by:
visited
in interfaceDataModelVisitor
-
visited
public void visited(Sequence sequence)
- Specified by:
visited
in interfaceDataModelVisitor
-
visited
public void visited(Tablespace tablespace)
- Specified by:
visited
in interfaceDataModelVisitor
-
visited
public void visited(FunctionDef functionDef)
- Specified by:
visited
in interfaceDataModelVisitor
-
visited
public void visited(AlterSequenceStartWith alterSequence)
- Specified by:
visited
in interfaceDataModelVisitor
-
visited
public void visited(AlterTableIdentityCache alterTable)
- Specified by:
visited
in interfaceDataModelVisitor
-
visited
public void visited(CreateIndex createIndex)
- Specified by:
visited
in interfaceDataModelVisitor
-
-