@InternalExtensionOnly public class CloudBigtableScanConfiguration extends CloudBigtableTableConfiguration
Scan.| Modifier and Type | Class and Description |
|---|---|
static class |
CloudBigtableScanConfiguration.Builder
Builds a
CloudBigtableScanConfiguration. |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PLACEHOLDER_APP_PROFILE_ID |
protected static String |
PLACEHOLDER_INSTANCE_ID |
protected static String |
PLACEHOLDER_PROJECT_ID |
protected static String |
PLACEHOLDER_TABLE_ID |
tableIdVALUE_UNAVAILABLE| Modifier | Constructor and Description |
|---|---|
protected |
CloudBigtableScanConfiguration(ValueProvider<String> projectId,
ValueProvider<String> instanceId,
ValueProvider<String> tableId,
ValueProvider<com.google.bigtable.repackaged.com.google.bigtable.v2.ReadRowsRequest> request,
Map<String,ValueProvider<String>> additionalConfiguration)
Creates a
CloudBigtableScanConfiguration using the specified project ID, instance ID,
table ID, Scan and additional connection configuration. |
| Modifier and Type | Method and Description |
|---|---|
void |
copyConfig(CloudBigtableScanConfiguration.Builder builder) |
boolean |
equals(Object obj)
Compares this configuration with the specified object.
|
static CloudBigtableScanConfiguration |
fromConfig(CloudBigtableTableConfiguration config,
Scan scan)
Converts a
CloudBigtableTableConfiguration object to a CloudBigtableScanConfiguration that will perform the specified Scan on the table. |
com.google.bigtable.repackaged.com.google.bigtable.v2.ReadRowsRequest |
getRequest()
Deprecated.
|
byte[] |
getStartRow() |
byte[] |
getStopRow() |
void |
populateDisplayData(DisplayData.Builder builder) |
CloudBigtableScanConfiguration.Builder |
toBuilder()
Creates a new
CloudBigtableConfiguration.Builder object containing the existing configuration. |
ByteKeyRange |
toByteKeyRange()
Creates a
ByteKeyRange representing the start and stop keys for this instance. |
copyConfig, getTableId, validateareParametersAccessible, checkNotNullOrEmpty, copyConfig, getAppProfileId, getConfiguration, getDisplayValue, getInstanceId, getProjectId, toHBaseConfigprotected static final String PLACEHOLDER_TABLE_ID
protected static final String PLACEHOLDER_PROJECT_ID
protected static final String PLACEHOLDER_INSTANCE_ID
protected static final String PLACEHOLDER_APP_PROFILE_ID
protected CloudBigtableScanConfiguration(ValueProvider<String> projectId, ValueProvider<String> instanceId, ValueProvider<String> tableId, ValueProvider<com.google.bigtable.repackaged.com.google.bigtable.v2.ReadRowsRequest> request, Map<String,ValueProvider<String>> additionalConfiguration)
CloudBigtableScanConfiguration using the specified project ID, instance ID,
table ID, Scan and additional connection configuration.projectId - The project ID for the instance.instanceId - The instance ID.tableId - The table to connect to in the instance.request - The ReadRowsRequest that will be used to filter the table.additionalConfiguration - A Map with additional connection configuration.public static CloudBigtableScanConfiguration fromConfig(CloudBigtableTableConfiguration config, Scan scan)
CloudBigtableTableConfiguration object to a CloudBigtableScanConfiguration that will perform the specified Scan on the table.config - The CloudBigtableTableConfiguration object.scan - The Scan to add to the configuration.CloudBigtableScanConfiguration.@Deprecated public com.google.bigtable.repackaged.com.google.bigtable.v2.ReadRowsRequest getRequest()
Scan used to filter the table.Scan.public byte[] getStartRow()
public byte[] getStopRow()
public boolean equals(Object obj)
CloudBigtableConfigurationequals in class CloudBigtableTableConfigurationobj - The object to compare this configuration against.true if the given object has the same configuration, false otherwise.public CloudBigtableScanConfiguration.Builder toBuilder()
CloudBigtableConfigurationCloudBigtableConfiguration.Builder object containing the existing configuration.toBuilder in class CloudBigtableTableConfigurationCloudBigtableConfiguration.Builder.public void copyConfig(CloudBigtableScanConfiguration.Builder builder)
public ByteKeyRange toByteKeyRange()
ByteKeyRange representing the start and stop keys for this instance.ByteKeyRange.public void populateDisplayData(DisplayData.Builder builder)
populateDisplayData in class CloudBigtableTableConfiguration