app/src/main/java/db/juhaku/juhakudb/core/schema/Schema.java
/**
     * Transforms current Schema element to DDL SQL according given
     * {@link Schema.DDL} enum.
     *
     * @param ddl DDL to provide transformation type.
     *
     * @return String containing current element transformed to DDL.
     *
     * @since 1.0.2
     */
Transforms current Schema element to DDL SQL according given
Schema.DDL enum.

@param ddl DDL to provide transformation type.

@return String containing current element transformed to DDL.


Transforms current Schema element to DDL SQL according given Schema . DDL enum . @param ddl DDL to provide transformation type . @return String containing current element transformed to DDL .
public String toDDL(DDL ddl) {
        StringBuilder ddlBuilder = new StringBuilder();
        switch (ddl) {
            case CREATE:
                createDDL(ddlBuilder);
                break;
            case DROP:
                dropDDL(ddlBuilder);
                break;
        }
        return ddlBuilder.toString();
    }
public String toDDL ( DDL ddl ) { StringBuilder ddlBuilder = new StringBuilder ( ) ; switch ( ddl ) { case CREATE : createDDL ( ddlBuilder ) ; break ; case DROP : dropDDL ( ddlBuilder ) ; break ; } return ddlBuilder . toString ( ) ; }
Transforms current Schema element to DDL SQL according given
 {@link Schema.DDL} enum.
Transforms current Schema element to DDL SQL according given { @link Schema . DDL } enum .