Class SymbolSetLocalAppendableColumn
java.lang.Object
com.illumon.iris.db.tables.appendable.BaseAppendableColumn<DATA_TYPE>
com.illumon.iris.db.tables.appendable.local.LocalAppendableColumn<DATA_TYPE>
com.illumon.iris.db.tables.appendable.local.SymbolManagerLocalAppendableColumn<String,StringSet>
com.illumon.iris.db.tables.appendable.local.SymbolSetLocalAppendableColumn
- All Implemented Interfaces:
AppendableColumn<StringSet>
,BufferedAppendable
,BufferedAppendableColumn<StringSet>
,TableTransactionProcessor
public class SymbolSetLocalAppendableColumn extends SymbolManagerLocalAppendableColumn<String,StringSet>
AppendableColumn for outputting symbol-mapped StringSets to a local column location.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.iris.db.tables.appendable.local.LocalAppendableColumn
LocalAppendableColumn.ValueSupplier<DATA_TYPE>
-
Field Summary
Fields inherited from interface com.illumon.iris.db.tables.appendable.AppendableColumn
DEFAULT_CHUNK_CAPACITY
-
Method Summary
Modifier and Type Method Description void
add(StringSet value)
Append a DATA_TYPE to this column.void
addComputed(int count, LocalAppendableColumn.ValueSupplier<StringSet> valueSupplier)
Add values computed on demand from a function over an int value index.Methods inherited from class com.illumon.iris.db.tables.appendable.local.SymbolManagerLocalAppendableColumn
close, doneAppending, flush, force, release
Methods inherited from class com.illumon.iris.db.tables.appendable.local.LocalAppendableColumn
abortTransaction, addByte, addByte, addBytes, addBytes, addChar, addChar, addChars, addDouble, addDouble, addDoubles, addEncoded, addFloat, addFloat, addFloats, addFromBooleanChunk, addFromByteChunk, addFromCharChunk, addFromDoubleChunk, addFromFloatChunk, addFromIntChunk, addFromLongChunk, addFromObjectChunk, addFromShortChunk, addInt, addInt, addInts, addLong, addLong, addLongs, addShort, addShort, addShorts, finishTransaction, inTransaction, startTransaction, toString
Methods inherited from class com.illumon.iris.db.tables.appendable.BaseAppendableColumn
add, add, addBoolean, addBoolean, addBooleans, checkArrayAddBounds, encodeExternalizable, encodeSerializable, getAddHelper, getName, getType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.tables.appendable.AppendableColumn
add, add, addBoolean, addBoolean, addBooleans, addFromArray, addFromBoxedValue, addFromBoxedValue, addFromChunk, addFromChunkSource, addFromChunkSource, addFromChunkSource, addFromColumnSource, addFromColumnSource, addFromColumnSource, addFromColumnSource, addFromDataColumn, getAddHelper, getName, getType
Methods inherited from interface com.illumon.iris.db.tables.appendable.BufferedAppendable
maybeForce, prepareCheckpoint
-
Method Details
-
add
Description copied from interface:AppendableColumn
Append a DATA_TYPE to this column.- Specified by:
add
in interfaceAppendableColumn<StringSet>
- Overrides:
add
in classBaseAppendableColumn<StringSet>
- Parameters:
value
- The value to append
-
addComputed
public final void addComputed(int count, @NotNull LocalAppendableColumn.ValueSupplier<StringSet> valueSupplier) throws IOExceptionDescription copied from class:LocalAppendableColumn
Add values computed on demand from a function over an int value index. Note that this is generally sub-optimal for columns of primitive types.- Overrides:
addComputed
in classLocalAppendableColumn<StringSet>
- Parameters:
count
- The number of values to addvalueSupplier
- The value supplier, over domain[0, length)
- Throws:
IOException
-