public interface Exporter<T extends Exportable>
CREATE and
DROP scripts.
This is an ORM-centric contract| Modifier and Type | Field and Description |
|---|---|
static String[] |
NO_COMMANDS |
| Modifier and Type | Method and Description |
|---|---|
default String[] |
getSqlCreateStrings(T exportable,
Metadata metadata)
Deprecated.
Will be removed in favor of the variant accepting
SqlStringGenerationContext |
default String[] |
getSqlCreateStrings(T exportable,
Metadata metadata,
SqlStringGenerationContext context)
Get the commands needed for creation.
|
default String[] |
getSqlDropStrings(T exportable,
Metadata metadata)
Deprecated.
Will be removed in favor of the variant accepting
SqlStringGenerationContext |
default String[] |
getSqlDropStrings(T exportable,
Metadata metadata,
SqlStringGenerationContext context)
Get the commands needed for dropping.
|
static final String[] NO_COMMANDS
@Deprecated default String[] getSqlCreateStrings(T exportable, Metadata metadata)
SqlStringGenerationContextgetSqlCreateStrings(Exportable, Metadata, SqlStringGenerationContext)default String[] getSqlCreateStrings(T exportable, Metadata metadata, SqlStringGenerationContext context)
@Deprecated default String[] getSqlDropStrings(T exportable, Metadata metadata)
SqlStringGenerationContextgetSqlDropStrings(Exportable, Metadata, SqlStringGenerationContext)default String[] getSqlDropStrings(T exportable, Metadata metadata, SqlStringGenerationContext context)
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.