Package com.illumon.iris.db.v2.updateby
Interface UpdateByControl
public interface UpdateByControl
-
Field Summary
Fields Modifier and Type Field Description static UpdateByControl
DEFAULT
static int
DEFAULT_CHUNK_CAPACITY
static double
DEFAULT_MAXIMUM_STATIC_SPARSE_MEMORY_OVERHEAD
static boolean
DEFAULT_USE_REDIRECTION
-
Method Summary
Modifier and Type Method Description default boolean
considerGrouping(Table source, ColumnSource<?>[] keySources)
Get if the operation should use grouping data.default int
getChunkCapacity()
Get the default maximum chunk capacity.default MathContext
getDefaultMathContext()
default double
getMaximumLoadFactor()
Get the maximum load factor for the hash table.default double
getMaxStaticSparseMemoryOverhead()
The maximum fractional memory overhead allowable for sparse redirections.default double
getTargetLoadFactor()
Get the target load factor for the hash table.default int
initialHashTableSize(Table source)
Get the initial hash table size for the specified input table.default boolean
useRedirection()
If 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
-