Package io.ebeaninternal.extraddl.model
Class ExtraDdlXmlReader
- java.lang.Object
-
- io.ebeaninternal.extraddl.model.ExtraDdlXmlReader
-
public class ExtraDdlXmlReader extends Object
Read ExtraDdl from an XML document.
-
-
Constructor Summary
Constructors Constructor Description ExtraDdlXmlReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
buildExtra(io.ebean.annotation.Platform platform, boolean drops)
Return the combined extra DDL that should be run given the platform name.static String
buildPartitioning(io.ebean.annotation.Platform platform)
Return any extra DDL for supporting partitioning given the database platform.static ExtraDdl
read()
Read the extra ddl.static ExtraDdl
read(InputStream is)
Read and return a ExtraDdl from an xml document.static ExtraDdl
readBuiltin()
Read the builtin extra ddl.static ExtraDdl
readBuiltinTablePartitioning()
Read the builtin extra ddl to support table partitioning.
-
-
-
Constructor Detail
-
ExtraDdlXmlReader
public ExtraDdlXmlReader()
-
-
Method Detail
-
buildExtra
public static String buildExtra(io.ebean.annotation.Platform platform, boolean drops)
Return the combined extra DDL that should be run given the platform name.
-
buildPartitioning
public static String buildPartitioning(io.ebean.annotation.Platform platform)
Return any extra DDL for supporting partitioning given the database platform.
-
readBuiltin
public static ExtraDdl readBuiltin()
Read the builtin extra ddl. (Stored procedures, tvp types etc)
-
readBuiltinTablePartitioning
public static ExtraDdl readBuiltinTablePartitioning()
Read the builtin extra ddl to support table partitioning.
-
read
public static ExtraDdl read(InputStream is)
Read and return a ExtraDdl from an xml document.
-
-