Uses of Class
group.worldstandard.pudel.api.database.TableSchema.Builder
Packages that use TableSchema.Builder
Package
Description
Plugin data persistence and database management API.
-
Uses of TableSchema.Builder in group.worldstandard.pudel.api.database
Methods in group.worldstandard.pudel.api.database that return TableSchema.BuilderModifier and TypeMethodDescriptionstatic TableSchema.BuilderCreate a new schema builder.TableSchema.Builder.column(String name, ColumnType type, boolean nullable) Add a column to the schema.TableSchema.Builder.column(String name, ColumnType type, boolean nullable, String defaultValue) Add a column with a default value.TableSchema.Builder.column(String name, ColumnType type, Integer size, boolean nullable) Add a column with a size constraint.TableSchema.Builder.column(String name, ColumnType type, Integer size, boolean nullable, String defaultValue) Add a column with all options.Add an index on one or more columns.TableSchema.Builder.uniqueIndex(String... columnNames) Add a unique index on one or more columns.