public class Utility extends Object
| Constructor and Description |
|---|
Utility() |
| Modifier and Type | Method and Description |
|---|---|
static CreateIndexOnField |
createIndexOnField(Table table,
String field,
boolean useLower) |
static DropTable |
drop(String tableName) |
static DropColumn |
dropColumn(String field,
Table table) |
static DropFieldIndex |
dropFieldIndex(Table table,
String field) |
static CastObject |
getCast(SimpleAttribute field,
Type type) |
static CastObject |
getCast(String valueToCast,
Type type) |
static CastObject |
getCastToString(SimpleAttribute field) |
static CastObject |
getCastToString(String valueToCast) |
static ColumnDefinition |
getColumnDefinition(String label,
Type type,
Specification... specifications) |
static RenameTable |
renameTable(Table actualTable,
String newName) |
public static RenameTable renameTable(Table actualTable, String newName) throws Exception
Exceptionpublic static CastObject getCast(SimpleAttribute field, Type type) throws Exception
Exceptionpublic static CastObject getCast(String valueToCast, Type type) throws Exception
Exceptionpublic static CastObject getCastToString(String valueToCast) throws Exception
Exceptionpublic static CastObject getCastToString(SimpleAttribute field) throws Exception
Exceptionpublic static ColumnDefinition getColumnDefinition(String label, Type type, Specification... specifications) throws Exception
Exceptionpublic static DropColumn dropColumn(String field, Table table) throws Exception
Exceptionpublic static CreateIndexOnField createIndexOnField(Table table, String field, boolean useLower) throws Exception
Exceptionpublic static DropFieldIndex dropFieldIndex(Table table, String field) throws Exception
ExceptionCopyright © 2020. All Rights Reserved.