public static interface ReadOptions.TableReadOptionsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getRowRestriction()
public abstract String getRowRestriction()
Optional. SQL text filtering statement, similar to a WHERE clause in a query. Aggregates are not supported. Examples: "int_field > 5" "date_field = CAST('2014-9-27' as DATE)" "nullable_field is not NULL" "st_equals(geo_field, st_geofromtext("POINT(2, 2)"))" "numeric_field BETWEEN 1.0 AND 5.0"
string row_restriction = 2;
Returns | |
---|---|
Type | Description |
String | The rowRestriction. |
getRowRestrictionBytes()
public abstract ByteString getRowRestrictionBytes()
Optional. SQL text filtering statement, similar to a WHERE clause in a query. Aggregates are not supported. Examples: "int_field > 5" "date_field = CAST('2014-9-27' as DATE)" "nullable_field is not NULL" "st_equals(geo_field, st_geofromtext("POINT(2, 2)"))" "numeric_field BETWEEN 1.0 AND 5.0"
string row_restriction = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for rowRestriction. |
getSelectedFields(int index)
public abstract String getSelectedFields(int index)
Optional. Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The selectedFields at the given index. |
getSelectedFieldsBytes(int index)
public abstract ByteString getSelectedFieldsBytes(int index)
Optional. Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the selectedFields at the given index. |
getSelectedFieldsCount()
public abstract int getSelectedFieldsCount()
Optional. Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;
Returns | |
---|---|
Type | Description |
int | The count of selectedFields. |
getSelectedFieldsList()
public abstract List<String> getSelectedFieldsList()
Optional. Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;
Returns | |
---|---|
Type | Description |
List<String> | A list containing the selectedFields. |