Package com.illumon.iris.db.v2.updateby
Interface UpdateByControl
public interface UpdateByControl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UpdateByControlstatic final intstatic final doublestatic final boolean -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanconsiderGrouping(Table source, ColumnSource<?>[] keySources) Get if the operation should use grouping data.default intGet the default maximum chunk capacity.default MathContextdefault doubleGet the maximum load factor for the hash table.default doubleThe maximum fractional memory overhead allowable for sparse redirections.default doubleGet the target load factor for the hash table.default intinitialHashTableSize(Table source) Get the initial hash table size for the specified input table.default booleanIf redirections should be used for output sources instead of sparse array sources.
-
Field Details
-
DEFAULT_CHUNK_CAPACITY
static final int DEFAULT_CHUNK_CAPACITY -
DEFAULT_USE_REDIRECTION
static final boolean DEFAULT_USE_REDIRECTION -
DEFAULT_MAXIMUM_STATIC_SPARSE_MEMORY_OVERHEAD
static final double DEFAULT_MAXIMUM_STATIC_SPARSE_MEMORY_OVERHEAD -
DEFAULT
-
-
Method Details
-
useRedirection
default boolean useRedirection()If redirections should be used for output sources instead of sparse array sources.- Returns:
- true if redirections should be used.
-
getChunkCapacity
default int getChunkCapacity()Get the default maximum chunk capacity.- Returns:
- the maximum chunk capacity.
-
getMaxStaticSparseMemoryOverhead
default double getMaxStaticSparseMemoryOverhead()The maximum fractional memory overhead allowable for sparse redirections.- Returns:
- the maximum fractional memory overhead.
-
initialHashTableSize
Get the initial hash table size for the specified input table.- Parameters:
source- the input table- Returns:
- the initial hash table size
-
getMaximumLoadFactor
default double getMaximumLoadFactor()Get the maximum load factor for the hash table.- Returns:
- the maximum load factor
-
getTargetLoadFactor
default double getTargetLoadFactor()Get the target load factor for the hash table.- Returns:
- the target load factor
-
considerGrouping
Get if the operation should use grouping data.- Parameters:
source- the source tablekeySources- the ke sources- Returns:
- true if the operation should use groupings.
-
getDefaultMathContext
-