public class BulkOptions extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BulkOptions.Builder
A mutable builder for BigtableConnectionOptions.
|
Modifier and Type | Field and Description |
---|---|
static int |
BIGTABLE_ASYNC_MUTATOR_COUNT_DEFAULT
Constant
BIGTABLE_ASYNC_MUTATOR_COUNT_DEFAULT=2 |
static long |
BIGTABLE_BULK_AUTOFLUSH_MS_DEFAULT
The maximum amount of time a row will be buffered for.
|
static long |
BIGTABLE_BULK_MAX_REQUEST_SIZE_BYTES_DEFAULT
This describes the maximum size a bulk mutation RPC should be before sending it to the server
and starting the next bulk call.
|
static int |
BIGTABLE_BULK_MAX_ROW_KEY_COUNT_DEFAULT
This describes the maximum number of individual mutation requests to bundle in a single bulk
mutation RPC before sending it to the server and starting the next bulk call.
|
static int |
BIGTABLE_MAX_INFLIGHT_RPCS_PER_CHANNEL_DEFAULT
Constant
BIGTABLE_MAX_INFLIGHT_RPCS_PER_CHANNEL_DEFAULT=50 |
static long |
BIGTABLE_MAX_MEMORY_DEFAULT
Constant
BIGTABLE_MAX_MEMORY_DEFAULT=(long) Math.min(1 << 30, (Runtime.getRuntime().maxMemory() * 0.1d)) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getAsyncMutatorCount()
Getter for the field
asyncMutatorCount . |
long |
getAutoflushMs()
Getter for the field
autoflushMs . |
long |
getBulkMaxRequestSize()
Getter for the field
bulkMaxRequestSize . |
int |
getBulkMaxRowKeyCount()
Getter for the field
bulkMaxRowKeyCount . |
int |
getMaxInflightRpcs()
Getter for the field
maxInflightRpcs . |
long |
getMaxMemory()
Getter for the field
maxMemory . |
BulkOptions.Builder |
toBuilder()
toBuilder.
|
String |
toString() |
boolean |
useBulkApi()
useBulkApi.
|
public static final int BIGTABLE_ASYNC_MUTATOR_COUNT_DEFAULT
BIGTABLE_ASYNC_MUTATOR_COUNT_DEFAULT=2
public static final long BIGTABLE_BULK_MAX_REQUEST_SIZE_BYTES_DEFAULT
public static final int BIGTABLE_BULK_MAX_ROW_KEY_COUNT_DEFAULT
public static long BIGTABLE_BULK_AUTOFLUSH_MS_DEFAULT
public static final int BIGTABLE_MAX_INFLIGHT_RPCS_PER_CHANNEL_DEFAULT
BIGTABLE_MAX_INFLIGHT_RPCS_PER_CHANNEL_DEFAULT=50
public static final long BIGTABLE_MAX_MEMORY_DEFAULT
BIGTABLE_MAX_MEMORY_DEFAULT=(long) Math.min(1 << 30, (Runtime.getRuntime().maxMemory() * 0.1d))
public int getAsyncMutatorCount()
Getter for the field asyncMutatorCount
.
public boolean useBulkApi()
useBulkApi.
public int getBulkMaxRowKeyCount()
Getter for the field bulkMaxRowKeyCount
.
public long getBulkMaxRequestSize()
Getter for the field bulkMaxRequestSize
.
public long getAutoflushMs()
Getter for the field autoflushMs
.
public int getMaxInflightRpcs()
Getter for the field maxInflightRpcs
.
public long getMaxMemory()
Getter for the field maxMemory
.
public BulkOptions.Builder toBuilder()
toBuilder.
BulkOptions.Builder
object.