public static enum BigQueryOptions.SampleMethod extends Enum<BigQueryOptions.SampleMethod> implements com.google.protobuf.ProtocolMessageEnum
How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either rows_limit or rows_limit_percent. If not specified, rows are scanned in the order BigQuery reads them.Protobuf enum
google.privacy.dlp.v2.BigQueryOptions.SampleMethod| Enum Constant and Description |
|---|
RANDOM_START
Randomly pick groups of rows to scan.
|
SAMPLE_METHOD_UNSPECIFIED
SAMPLE_METHOD_UNSPECIFIED = 0; |
TOP
Scan groups of rows in the order BigQuery provides (default).
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
RANDOM_START_VALUE
Randomly pick groups of rows to scan.
|
static int |
SAMPLE_METHOD_UNSPECIFIED_VALUE
SAMPLE_METHOD_UNSPECIFIED = 0; |
static int |
TOP_VALUE
Scan groups of rows in the order BigQuery provides (default).
|
| Modifier and Type | Method and Description |
|---|---|
static BigQueryOptions.SampleMethod |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<BigQueryOptions.SampleMethod> |
internalGetValueMap() |
static BigQueryOptions.SampleMethod |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BigQueryOptions.SampleMethod |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BigQueryOptions.SampleMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BigQueryOptions.SampleMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BigQueryOptions.SampleMethod SAMPLE_METHOD_UNSPECIFIED
SAMPLE_METHOD_UNSPECIFIED = 0;public static final BigQueryOptions.SampleMethod TOP
Scan groups of rows in the order BigQuery provides (default). Multiple groups of rows may be scanned in parallel, so results may not appear in the same order the rows are read.
TOP = 1;public static final BigQueryOptions.SampleMethod RANDOM_START
Randomly pick groups of rows to scan.
RANDOM_START = 2;public static final BigQueryOptions.SampleMethod UNRECOGNIZED
public static final int SAMPLE_METHOD_UNSPECIFIED_VALUE
SAMPLE_METHOD_UNSPECIFIED = 0;public static final int TOP_VALUE
Scan groups of rows in the order BigQuery provides (default). Multiple groups of rows may be scanned in parallel, so results may not appear in the same order the rows are read.
TOP = 1;public static final int RANDOM_START_VALUE
Randomly pick groups of rows to scan.
RANDOM_START = 2;public static BigQueryOptions.SampleMethod[] values()
for (BigQueryOptions.SampleMethod c : BigQueryOptions.SampleMethod.values()) System.out.println(c);
public static BigQueryOptions.SampleMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static BigQueryOptions.SampleMethod valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BigQueryOptions.SampleMethod forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BigQueryOptions.SampleMethod> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static BigQueryOptions.SampleMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.