Package com.illumon.iris.db.util.config
Class TableInputHandler
java.lang.Object
com.illumon.iris.db.util.config.TableInputHandler
- All Implemented Interfaces:
Serializable
Methods for assisting in input table construction.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classConfiguration for an input table column.static interfaceAn attribute for a column.static classUsed to create an allowable set of items to select from for the particular column.static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(String columnName, TableInputHandler.ColumnConfigAttribute configAttribute) c(String name, Class<?> type, TableInputHandler.ColumnConfigAttribute... attributes) Creates a column configuration for a "normal" input table column.cKey(String name, Class<?> type, TableInputHandler.ColumnConfigAttribute... attributes) Creates a column configuration for a "key" input table column.voidclearAttributes(String columnName) booleanObject[]getFieldEntry(Database db, String name) String[]Gets the set of special column names that may not be used with input tables.booleaninthashCode()voidboolean
-
Field Details
-
WORKER_NAME
- See Also:
-
SERVER_HOST_NAME
- See Also:
-
CLIENT_HOST_NAME
- See Also:
-
CHANGE_TIME
- See Also:
-
DELETED
- See Also:
-
DATE
- See Also:
-
-
Constructor Details
-
TableInputHandler
-
-
Method Details
-
isKey
-
hasColumn
-
getFieldEntry
-
getEnums
-
getKeyColumnNames
-
init
-
c
public static TableInputHandler.ColumnConfig c(@NotNull String name, @NotNull Class<?> type, @NotNull TableInputHandler.ColumnConfigAttribute... attributes) Creates a column configuration for a "normal" input table column.- Parameters:
name- column nametype- column typeattributes- column attributes- Returns:
- column configuration
-
cKey
public static TableInputHandler.ColumnConfig cKey(@NotNull String name, @NotNull Class<?> type, @NotNull TableInputHandler.ColumnConfigAttribute... attributes) Creates a column configuration for a "key" input table column.- Parameters:
name- column nametype- column typeattributes- column attributes- Returns:
- column configuration
-
getRestrictedColumnNames
Gets the set of special column names that may not be used with input tables.- Returns:
- the set of special column names that may not be used with input tables.
-
addAttribute
public void addAttribute(@NotNull String columnName, @NotNull TableInputHandler.ColumnConfigAttribute configAttribute) -
clearAttributes
-
equals
-
hashCode
public int hashCode() -
getDefinition
-