Package | Description |
---|---|
com.healthmarketscience.jackcess | |
com.healthmarketscience.jackcess.impl | |
com.healthmarketscience.jackcess.util |
Modifier and Type | Method and Description |
---|---|
ColumnBuilder |
ColumnBuilder.escapeName()
Escapes the new column's name using
TableBuilder.escapeIdentifier(java.lang.String) . |
static ColumnBuilder |
DatabaseBuilder.newColumn(String name)
Convenience method for constructing a ColumnBuilder.
|
static ColumnBuilder |
DatabaseBuilder.newColumn(String name,
DataType type)
Convenience method for constructing a TableBuilder.
|
ColumnBuilder |
ColumnBuilder.putProperty(String name,
DataType type,
Object value)
Sets the column property with the given name and type to the given value.
|
ColumnBuilder |
ColumnBuilder.putProperty(String name,
Object value)
Sets the column property with the given name to the given value.
|
ColumnBuilder |
ColumnBuilder.setAutoNumber(boolean autoNumber)
Sets whether of not the new column is an auto-number column.
|
ColumnBuilder |
ColumnBuilder.setCalculated(boolean calculated)
Sets whether of not the new column is a calculated column.
|
ColumnBuilder |
ColumnBuilder.setCalculatedInfo(String expression)
Convenience method to set the various info for a calculated type (flag,
result type property and expression)
|
ColumnBuilder |
ColumnBuilder.setCompressedUnicode(boolean compressedUnicode)
Sets whether of not the new column allows unicode compression.
|
ColumnBuilder |
ColumnBuilder.setFromColumn(Column template)
Sets all attributes except name from the given Column template (including
all column properties except GUID).
|
ColumnBuilder |
ColumnBuilder.setFromColumn(ColumnBuilder template)
Sets all attributes except name from the given Column template.
|
ColumnBuilder |
ColumnBuilder.setHyperlink(boolean hyperlink)
Sets whether of not the new column allows unicode compression.
|
ColumnBuilder |
ColumnBuilder.setLength(int length)
Sets the length (in bytes) for the new column.
|
ColumnBuilder |
ColumnBuilder.setLengthInUnits(int unitLength)
Sets the length (in type specific units) for the new column.
|
ColumnBuilder |
ColumnBuilder.setMaxLength()
Sets the length for the new column to the max length for the type.
|
ColumnBuilder |
ColumnBuilder.setMaxPrecision()
Sets the precision for the new column to the max length for the type.
|
ColumnBuilder |
ColumnBuilder.setMaxScale()
Sets the scale for the new column to the max length for the type.
|
ColumnBuilder |
ColumnBuilder.setPrecision(int newPrecision)
Sets the precision for the new column.
|
ColumnBuilder |
ColumnBuilder.setScale(int newScale)
Sets the scale for the new column.
|
ColumnBuilder |
ColumnBuilder.setSQLType(int type)
Sets the type for the new column based on the given SQL type.
|
ColumnBuilder |
ColumnBuilder.setSQLType(int type,
int lengthInUnits)
Sets the type for the new column based on the given SQL type and target
data length (in type specific units).
|
ColumnBuilder |
ColumnBuilder.setSQLType(int type,
int lengthInUnits,
Database.FileFormat fileFormat)
Sets the type for the new column based on the given SQL type, target
data length (in type specific units), and target FileFormat.
|
ColumnBuilder |
ColumnBuilder.setType(DataType type)
Sets the type for the new column.
|
ColumnBuilder |
ColumnBuilder.toColumn()
Creates a new Column with the currently configured attributes.
|
Modifier and Type | Method and Description |
---|---|
List<ColumnBuilder> |
TableBuilder.getColumns() |
Modifier and Type | Method and Description |
---|---|
TableBuilder |
TableBuilder.addColumn(ColumnBuilder column)
Adds a Column to the new table.
|
ColumnBuilder |
ColumnBuilder.setFromColumn(ColumnBuilder template)
Sets all attributes except name from the given Column template.
|
Modifier and Type | Method and Description |
---|---|
TableBuilder |
TableBuilder.addColumns(Collection<? extends ColumnBuilder> columns)
Adds the Columns to the new table.
|
Modifier and Type | Method and Description |
---|---|
ColumnBuilder |
TableUpdater.getColumn() |
Modifier and Type | Method and Description |
---|---|
List<ColumnBuilder> |
TableCreator.getColumns() |
List<ColumnBuilder> |
TableCreator.getLongValueColumns() |
Modifier and Type | Method and Description |
---|---|
ColumnImpl |
TableUpdater.addColumn(ColumnBuilder column) |
com.healthmarketscience.jackcess.impl.TableMutator.ColumnState |
TableCreator.getColumnState(ColumnBuilder col) |
abstract com.healthmarketscience.jackcess.impl.TableMutator.ColumnState |
TableMutator.getColumnState(ColumnBuilder col) |
com.healthmarketscience.jackcess.impl.TableMutator.ColumnState |
TableUpdater.getColumnState(ColumnBuilder col) |
Modifier and Type | Method and Description |
---|---|
static short |
ColumnImpl.countVariableLength(List<ColumnBuilder> columns) |
void |
DatabaseImpl.createTable(String name,
List<ColumnBuilder> columns)
Deprecated.
use
TableBuilder instead |
void |
DatabaseImpl.createTable(String name,
List<ColumnBuilder> columns,
List<IndexBuilder> indexes)
Deprecated.
use
TableBuilder instead |
Modifier and Type | Method and Description |
---|---|
List<ColumnBuilder> |
SimpleImportFilter.filterColumns(List<ColumnBuilder> destColumns,
ResultSetMetaData srcColumns) |
List<ColumnBuilder> |
ImportFilter.filterColumns(List<ColumnBuilder> destColumns,
ResultSetMetaData srcColumns)
The columns that should be used to create the imported table.
|
static List<ColumnBuilder> |
ImportUtil.toColumns(ResultSetMetaData md)
Returns a List of Column instances converted from the given
ResultSetMetaData (this is the same method used by the various
importResultSet() methods). |
Modifier and Type | Method and Description |
---|---|
List<ColumnBuilder> |
SimpleImportFilter.filterColumns(List<ColumnBuilder> destColumns,
ResultSetMetaData srcColumns) |
List<ColumnBuilder> |
ImportFilter.filterColumns(List<ColumnBuilder> destColumns,
ResultSetMetaData srcColumns)
The columns that should be used to create the imported table.
|
Copyright © 2005–2024 OpenHMS. All rights reserved.