public static final class RowFilter.Condition.Builder extends GeneratedMessageV3.Builder<RowFilter.Condition.Builder> implements RowFilter.ConditionOrBuilder
A RowFilter which evaluates one of two possible RowFilters, depending on
whether or not a predicate RowFilter outputs any cells from the input row.
IMPORTANT NOTE: The predicate filter does not execute atomically with the
true and false filters, which may lead to inconsistent or unexpected
results. Additionally, Condition filters have poor performance, especially
when filters are set for the false condition.
Protobuf type google.bigtable.v2.RowFilter.Condition
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RowFilter.Condition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RowFilter.Condition build()
Returns
buildPartial()
public RowFilter.Condition buildPartial()
Returns
clear()
public RowFilter.Condition.Builder clear()
Returns
Overrides
clearFalseFilter()
public RowFilter.Condition.Builder clearFalseFilter()
The filter to apply to the input row if predicate_filter
does not
return any results. If not provided, no results will be returned in the
false case.
.google.bigtable.v2.RowFilter false_filter = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public RowFilter.Condition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RowFilter.Condition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPredicateFilter()
public RowFilter.Condition.Builder clearPredicateFilter()
If predicate_filter
outputs any cells, then true_filter
will be
evaluated on the input row. Otherwise, false_filter
will be evaluated.
.google.bigtable.v2.RowFilter predicate_filter = 1;
Returns
clearTrueFilter()
public RowFilter.Condition.Builder clearTrueFilter()
The filter to apply to the input row if predicate_filter
returns any
results. If not provided, no results will be returned in the true case.
.google.bigtable.v2.RowFilter true_filter = 2;
Returns
clone()
public RowFilter.Condition.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RowFilter.Condition getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFalseFilter()
public RowFilter getFalseFilter()
The filter to apply to the input row if predicate_filter
does not
return any results. If not provided, no results will be returned in the
false case.
.google.bigtable.v2.RowFilter false_filter = 3;
Returns
getFalseFilterBuilder()
public RowFilter.Builder getFalseFilterBuilder()
The filter to apply to the input row if predicate_filter
does not
return any results. If not provided, no results will be returned in the
false case.
.google.bigtable.v2.RowFilter false_filter = 3;
Returns
getFalseFilterOrBuilder()
public RowFilterOrBuilder getFalseFilterOrBuilder()
The filter to apply to the input row if predicate_filter
does not
return any results. If not provided, no results will be returned in the
false case.
.google.bigtable.v2.RowFilter false_filter = 3;
Returns
getPredicateFilter()
public RowFilter getPredicateFilter()
If predicate_filter
outputs any cells, then true_filter
will be
evaluated on the input row. Otherwise, false_filter
will be evaluated.
.google.bigtable.v2.RowFilter predicate_filter = 1;
Returns
getPredicateFilterBuilder()
public RowFilter.Builder getPredicateFilterBuilder()
If predicate_filter
outputs any cells, then true_filter
will be
evaluated on the input row. Otherwise, false_filter
will be evaluated.
.google.bigtable.v2.RowFilter predicate_filter = 1;
Returns
getPredicateFilterOrBuilder()
public RowFilterOrBuilder getPredicateFilterOrBuilder()
If predicate_filter
outputs any cells, then true_filter
will be
evaluated on the input row. Otherwise, false_filter
will be evaluated.
.google.bigtable.v2.RowFilter predicate_filter = 1;
Returns
getTrueFilter()
public RowFilter getTrueFilter()
The filter to apply to the input row if predicate_filter
returns any
results. If not provided, no results will be returned in the true case.
.google.bigtable.v2.RowFilter true_filter = 2;
Returns
getTrueFilterBuilder()
public RowFilter.Builder getTrueFilterBuilder()
The filter to apply to the input row if predicate_filter
returns any
results. If not provided, no results will be returned in the true case.
.google.bigtable.v2.RowFilter true_filter = 2;
Returns
getTrueFilterOrBuilder()
public RowFilterOrBuilder getTrueFilterOrBuilder()
The filter to apply to the input row if predicate_filter
returns any
results. If not provided, no results will be returned in the true case.
.google.bigtable.v2.RowFilter true_filter = 2;
Returns
hasFalseFilter()
public boolean hasFalseFilter()
The filter to apply to the input row if predicate_filter
does not
return any results. If not provided, no results will be returned in the
false case.
.google.bigtable.v2.RowFilter false_filter = 3;
Returns
Type | Description |
boolean | Whether the falseFilter field is set.
|
hasPredicateFilter()
public boolean hasPredicateFilter()
If predicate_filter
outputs any cells, then true_filter
will be
evaluated on the input row. Otherwise, false_filter
will be evaluated.
.google.bigtable.v2.RowFilter predicate_filter = 1;
Returns
Type | Description |
boolean | Whether the predicateFilter field is set.
|
hasTrueFilter()
public boolean hasTrueFilter()
The filter to apply to the input row if predicate_filter
returns any
results. If not provided, no results will be returned in the true case.
.google.bigtable.v2.RowFilter true_filter = 2;
Returns
Type | Description |
boolean | Whether the trueFilter field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFalseFilter(RowFilter value)
public RowFilter.Condition.Builder mergeFalseFilter(RowFilter value)
The filter to apply to the input row if predicate_filter
does not
return any results. If not provided, no results will be returned in the
false case.
.google.bigtable.v2.RowFilter false_filter = 3;
Parameter
Returns
mergeFrom(RowFilter.Condition other)
public RowFilter.Condition.Builder mergeFrom(RowFilter.Condition other)
Parameter
Returns
public RowFilter.Condition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RowFilter.Condition.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergePredicateFilter(RowFilter value)
public RowFilter.Condition.Builder mergePredicateFilter(RowFilter value)
If predicate_filter
outputs any cells, then true_filter
will be
evaluated on the input row. Otherwise, false_filter
will be evaluated.
.google.bigtable.v2.RowFilter predicate_filter = 1;
Parameter
Returns
mergeTrueFilter(RowFilter value)
public RowFilter.Condition.Builder mergeTrueFilter(RowFilter value)
The filter to apply to the input row if predicate_filter
returns any
results. If not provided, no results will be returned in the true case.
.google.bigtable.v2.RowFilter true_filter = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RowFilter.Condition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setFalseFilter(RowFilter value)
public RowFilter.Condition.Builder setFalseFilter(RowFilter value)
The filter to apply to the input row if predicate_filter
does not
return any results. If not provided, no results will be returned in the
false case.
.google.bigtable.v2.RowFilter false_filter = 3;
Parameter
Returns
setFalseFilter(RowFilter.Builder builderForValue)
public RowFilter.Condition.Builder setFalseFilter(RowFilter.Builder builderForValue)
The filter to apply to the input row if predicate_filter
does not
return any results. If not provided, no results will be returned in the
false case.
.google.bigtable.v2.RowFilter false_filter = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RowFilter.Condition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPredicateFilter(RowFilter value)
public RowFilter.Condition.Builder setPredicateFilter(RowFilter value)
If predicate_filter
outputs any cells, then true_filter
will be
evaluated on the input row. Otherwise, false_filter
will be evaluated.
.google.bigtable.v2.RowFilter predicate_filter = 1;
Parameter
Returns
setPredicateFilter(RowFilter.Builder builderForValue)
public RowFilter.Condition.Builder setPredicateFilter(RowFilter.Builder builderForValue)
If predicate_filter
outputs any cells, then true_filter
will be
evaluated on the input row. Otherwise, false_filter
will be evaluated.
.google.bigtable.v2.RowFilter predicate_filter = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RowFilter.Condition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTrueFilter(RowFilter value)
public RowFilter.Condition.Builder setTrueFilter(RowFilter value)
The filter to apply to the input row if predicate_filter
returns any
results. If not provided, no results will be returned in the true case.
.google.bigtable.v2.RowFilter true_filter = 2;
Parameter
Returns
setTrueFilter(RowFilter.Builder builderForValue)
public RowFilter.Condition.Builder setTrueFilter(RowFilter.Builder builderForValue)
The filter to apply to the input row if predicate_filter
returns any
results. If not provided, no results will be returned in the true case.
.google.bigtable.v2.RowFilter true_filter = 2;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RowFilter.Condition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides