public static class MutableDenseHashTable.Options extends Object
MutableDenseHashTable
Modifier and Type | Method and Description |
---|---|
MutableDenseHashTable.Options |
container(String container) |
MutableDenseHashTable.Options |
initialNumBuckets(Long initialNumBuckets) |
MutableDenseHashTable.Options |
maxLoadFactor(Float maxLoadFactor) |
MutableDenseHashTable.Options |
sharedName(String sharedName) |
MutableDenseHashTable.Options |
useNodeNameSharing(Boolean useNodeNameSharing) |
MutableDenseHashTable.Options |
valueShape(Shape valueShape) |
public MutableDenseHashTable.Options container(String container)
container
- If non-empty, this table is placed in the given container.
Otherwise, a default container is used.public MutableDenseHashTable.Options sharedName(String sharedName)
sharedName
- If non-empty, this table is shared under the given name across
multiple sessions.public MutableDenseHashTable.Options useNodeNameSharing(Boolean useNodeNameSharing)
useNodeNameSharing
- public MutableDenseHashTable.Options valueShape(Shape valueShape)
valueShape
- The shape of each value.public MutableDenseHashTable.Options initialNumBuckets(Long initialNumBuckets)
initialNumBuckets
- The initial number of hash table buckets. Must be a power
to 2.public MutableDenseHashTable.Options maxLoadFactor(Float maxLoadFactor)
maxLoadFactor
- The maximum ratio between number of entries and number of
buckets before growing the table. Must be between 0 and 1.Copyright © 2022. All rights reserved.