K
- type of the column key or nameE
- type of the command resultpublic abstract class ColumnCommand<K extends Serializable & Comparable<K>,E> extends Object
This class is not thread safe.
Constructor and Description |
---|
ColumnCommand() |
Modifier and Type | Method and Description |
---|---|
E |
execute(Column<K,?> column)
Executes the command.
|
protected abstract E |
getResult(BooleanColumn<K> column)
Specific execution of the command.
|
protected abstract E |
getResult(ByteArrayColumn<K> column)
Specific execution of the command.
|
protected abstract E |
getResult(ByteColumn<K> column)
Specific execution of the command.
|
protected abstract E |
getResult(CustomColumn<K,?> column)
Specific execution of the command.
|
protected abstract E |
getResult(DateColumn<K> column)
Specific execution of the command.
|
protected abstract E |
getResult(DoubleColumn<K> column)
Specific execution of the command.
|
protected abstract E |
getResult(EnumColumn<K,? extends Enum<?>> column)
Specific execution of the command.
|
protected abstract E |
getResult(FloatColumn<K> column)
Specific execution of the command.
|
protected abstract E |
getResult(IntegerColumn<K> column)
Specific execution of the command.
|
protected abstract E |
getResult(LongColumn<K> column)
Specific execution of the command.
|
protected abstract E |
getResult(StringColumn<K> column)
Specific execution of the command.
|
protected abstract E |
getResult(ValuelessColumn<K> column)
Specific execution of the command.
|
public E execute(Column<K,?> column)
column
- command inputprotected abstract E getResult(BooleanColumn<K> column)
column
- command inputprotected abstract E getResult(ByteColumn<K> column)
column
- command inputprotected abstract E getResult(ByteArrayColumn<K> column)
column
- command inputprotected abstract E getResult(DateColumn<K> column)
column
- command inputprotected abstract E getResult(DoubleColumn<K> column)
column
- command inputprotected abstract E getResult(FloatColumn<K> column)
column
- command inputprotected abstract E getResult(IntegerColumn<K> column)
column
- command inputprotected abstract E getResult(LongColumn<K> column)
column
- command inputprotected abstract E getResult(StringColumn<K> column)
column
- command inputprotected abstract E getResult(EnumColumn<K,? extends Enum<?>> column)
column
- command inputprotected abstract E getResult(CustomColumn<K,?> column)
column
- command inputprotected abstract E getResult(ValuelessColumn<K> column)
column
- command inputCopyright © 2015. All Rights Reserved.