MutableDenseHashTable.Options

public static class MutableDenseHashTable.Options

Optional attributes for MutableDenseHashTable

Public Methods

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)

Inherited Methods

Public Methods

public MutableDenseHashTable.Options container (String container)

Parameters
container If non-empty, this table is placed in the given container. Otherwise, a default container is used.

public MutableDenseHashTable.Options initialNumBuckets (Long initialNumBuckets)

Parameters
initialNumBuckets The initial number of hash table buckets. Must be a power to 2.

public MutableDenseHashTable.Options maxLoadFactor (Float maxLoadFactor)

Parameters
maxLoadFactor The maximum ratio between number of entries and number of buckets before growing the table. Must be between 0 and 1.

public MutableDenseHashTable.Options sharedName (String sharedName)

Parameters
sharedName If non-empty, this table is shared under the given name across multiple sessions.

public MutableDenseHashTable.Options useNodeNameSharing (Boolean useNodeNameSharing)

public MutableDenseHashTable.Options valueShape (Shape valueShape)

Parameters
valueShape The shape of each value.