Class StandardIndexExporter
- java.lang.Object
-
- org.hibernate.tool.schema.internal.StandardIndexExporter
-
-
Field Summary
-
Fields inherited from interface org.hibernate.tool.schema.spi.Exporter
NO_COMMANDS
-
-
Constructor Summary
Constructors Constructor Description StandardIndexExporter(Dialect dialect)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Dialect
getDialect()
String[]
getSqlCreateStrings(Index index, Metadata metadata, SqlStringGenerationContext context)
Get the commands needed for creation.String[]
getSqlDropStrings(Index index, Metadata metadata, SqlStringGenerationContext context)
Get the commands needed for dropping.
-
-
-
Constructor Detail
-
StandardIndexExporter
public StandardIndexExporter(Dialect dialect)
-
-
Method Detail
-
getDialect
protected Dialect getDialect()
-
getSqlCreateStrings
public String[] getSqlCreateStrings(Index index, Metadata metadata, SqlStringGenerationContext context)
Description copied from interface:Exporter
Get the commands needed for creation.- Specified by:
getSqlCreateStrings
in interfaceExporter<Index>
- Returns:
- The commands needed for creation scripting.
-
getSqlDropStrings
public String[] getSqlDropStrings(Index index, Metadata metadata, SqlStringGenerationContext context)
Description copied from interface:Exporter
Get the commands needed for dropping.- Specified by:
getSqlDropStrings
in interfaceExporter<Index>
- Returns:
- The commands needed for drop scripting.
-
-