Documentation ¶
Index ¶
- Variables
- func RegisterBigtableServiceServer(s *grpc.Server, srv BigtableServiceServer)
- type BigtableServiceClient
- type BigtableServiceServer
- type BigtableService_ReadRowsClient
- type BigtableService_ReadRowsServer
- type BigtableService_SampleRowKeysClient
- type BigtableService_SampleRowKeysServer
- type Cell
- type CheckAndMutateRowRequest
- func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckAndMutateRowRequest) GetFalseMutations() []*Mutation
- func (x *CheckAndMutateRowRequest) GetPredicateFilter() *RowFilter
- func (x *CheckAndMutateRowRequest) GetRowKey() []byte
- func (x *CheckAndMutateRowRequest) GetTableName() string
- func (x *CheckAndMutateRowRequest) GetTrueMutations() []*Mutation
- func (*CheckAndMutateRowRequest) ProtoMessage()
- func (x *CheckAndMutateRowRequest) ProtoReflect() protoreflect.Message
- func (x *CheckAndMutateRowRequest) Reset()
- func (x *CheckAndMutateRowRequest) String() string
- type CheckAndMutateRowResponse
- func (*CheckAndMutateRowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckAndMutateRowResponse) GetPredicateMatched() bool
- func (*CheckAndMutateRowResponse) ProtoMessage()
- func (x *CheckAndMutateRowResponse) ProtoReflect() protoreflect.Message
- func (x *CheckAndMutateRowResponse) Reset()
- func (x *CheckAndMutateRowResponse) String() string
- type Column
- type ColumnRange
- func (*ColumnRange) Descriptor() ([]byte, []int)deprecated
- func (m *ColumnRange) GetEndQualifier() isColumnRange_EndQualifier
- func (x *ColumnRange) GetEndQualifierExclusive() []byte
- func (x *ColumnRange) GetEndQualifierInclusive() []byte
- func (x *ColumnRange) GetFamilyName() string
- func (m *ColumnRange) GetStartQualifier() isColumnRange_StartQualifier
- func (x *ColumnRange) GetStartQualifierExclusive() []byte
- func (x *ColumnRange) GetStartQualifierInclusive() []byte
- func (*ColumnRange) ProtoMessage()
- func (x *ColumnRange) ProtoReflect() protoreflect.Message
- func (x *ColumnRange) Reset()
- func (x *ColumnRange) String() string
- type ColumnRange_EndQualifierExclusive
- type ColumnRange_EndQualifierInclusive
- type ColumnRange_StartQualifierExclusive
- type ColumnRange_StartQualifierInclusive
- type Family
- type MutateRowRequest
- func (*MutateRowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MutateRowRequest) GetMutations() []*Mutation
- func (x *MutateRowRequest) GetRowKey() []byte
- func (x *MutateRowRequest) GetTableName() string
- func (*MutateRowRequest) ProtoMessage()
- func (x *MutateRowRequest) ProtoReflect() protoreflect.Message
- func (x *MutateRowRequest) Reset()
- func (x *MutateRowRequest) String() string
- type MutateRowsRequest
- func (*MutateRowsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MutateRowsRequest) GetEntries() []*MutateRowsRequest_Entry
- func (x *MutateRowsRequest) GetTableName() string
- func (*MutateRowsRequest) ProtoMessage()
- func (x *MutateRowsRequest) ProtoReflect() protoreflect.Message
- func (x *MutateRowsRequest) Reset()
- func (x *MutateRowsRequest) String() string
- type MutateRowsRequest_Entry
- func (*MutateRowsRequest_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *MutateRowsRequest_Entry) GetMutations() []*Mutation
- func (x *MutateRowsRequest_Entry) GetRowKey() []byte
- func (*MutateRowsRequest_Entry) ProtoMessage()
- func (x *MutateRowsRequest_Entry) ProtoReflect() protoreflect.Message
- func (x *MutateRowsRequest_Entry) Reset()
- func (x *MutateRowsRequest_Entry) String() string
- type MutateRowsResponse
- func (*MutateRowsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MutateRowsResponse) GetStatuses() []*status.Status
- func (*MutateRowsResponse) ProtoMessage()
- func (x *MutateRowsResponse) ProtoReflect() protoreflect.Message
- func (x *MutateRowsResponse) Reset()
- func (x *MutateRowsResponse) String() string
- type Mutation
- func (*Mutation) Descriptor() ([]byte, []int)deprecated
- func (x *Mutation) GetDeleteFromColumn() *Mutation_DeleteFromColumn
- func (x *Mutation) GetDeleteFromFamily() *Mutation_DeleteFromFamily
- func (x *Mutation) GetDeleteFromRow() *Mutation_DeleteFromRow
- func (m *Mutation) GetMutation() isMutation_Mutation
- func (x *Mutation) GetSetCell() *Mutation_SetCell
- func (*Mutation) ProtoMessage()
- func (x *Mutation) ProtoReflect() protoreflect.Message
- func (x *Mutation) Reset()
- func (x *Mutation) String() string
- type Mutation_DeleteFromColumn
- func (*Mutation_DeleteFromColumn) Descriptor() ([]byte, []int)deprecated
- func (x *Mutation_DeleteFromColumn) GetColumnQualifier() []byte
- func (x *Mutation_DeleteFromColumn) GetFamilyName() string
- func (x *Mutation_DeleteFromColumn) GetTimeRange() *TimestampRange
- func (*Mutation_DeleteFromColumn) ProtoMessage()
- func (x *Mutation_DeleteFromColumn) ProtoReflect() protoreflect.Message
- func (x *Mutation_DeleteFromColumn) Reset()
- func (x *Mutation_DeleteFromColumn) String() string
- type Mutation_DeleteFromColumn_
- type Mutation_DeleteFromFamily
- func (*Mutation_DeleteFromFamily) Descriptor() ([]byte, []int)deprecated
- func (x *Mutation_DeleteFromFamily) GetFamilyName() string
- func (*Mutation_DeleteFromFamily) ProtoMessage()
- func (x *Mutation_DeleteFromFamily) ProtoReflect() protoreflect.Message
- func (x *Mutation_DeleteFromFamily) Reset()
- func (x *Mutation_DeleteFromFamily) String() string
- type Mutation_DeleteFromFamily_
- type Mutation_DeleteFromRow
- type Mutation_DeleteFromRow_
- type Mutation_SetCell
- func (*Mutation_SetCell) Descriptor() ([]byte, []int)deprecated
- func (x *Mutation_SetCell) GetColumnQualifier() []byte
- func (x *Mutation_SetCell) GetFamilyName() string
- func (x *Mutation_SetCell) GetTimestampMicros() int64
- func (x *Mutation_SetCell) GetValue() []byte
- func (*Mutation_SetCell) ProtoMessage()
- func (x *Mutation_SetCell) ProtoReflect() protoreflect.Message
- func (x *Mutation_SetCell) Reset()
- func (x *Mutation_SetCell) String() string
- type Mutation_SetCell_
- type ReadModifyWriteRowRequest
- func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadModifyWriteRowRequest) GetRowKey() []byte
- func (x *ReadModifyWriteRowRequest) GetRules() []*ReadModifyWriteRule
- func (x *ReadModifyWriteRowRequest) GetTableName() string
- func (*ReadModifyWriteRowRequest) ProtoMessage()
- func (x *ReadModifyWriteRowRequest) ProtoReflect() protoreflect.Message
- func (x *ReadModifyWriteRowRequest) Reset()
- func (x *ReadModifyWriteRowRequest) String() string
- type ReadModifyWriteRule
- func (*ReadModifyWriteRule) Descriptor() ([]byte, []int)deprecated
- func (x *ReadModifyWriteRule) GetAppendValue() []byte
- func (x *ReadModifyWriteRule) GetColumnQualifier() []byte
- func (x *ReadModifyWriteRule) GetFamilyName() string
- func (x *ReadModifyWriteRule) GetIncrementAmount() int64
- func (m *ReadModifyWriteRule) GetRule() isReadModifyWriteRule_Rule
- func (*ReadModifyWriteRule) ProtoMessage()
- func (x *ReadModifyWriteRule) ProtoReflect() protoreflect.Message
- func (x *ReadModifyWriteRule) Reset()
- func (x *ReadModifyWriteRule) String() string
- type ReadModifyWriteRule_AppendValue
- type ReadModifyWriteRule_IncrementAmount
- type ReadRowsRequest
- func (*ReadRowsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadRowsRequest) GetAllowRowInterleaving() bool
- func (x *ReadRowsRequest) GetFilter() *RowFilter
- func (x *ReadRowsRequest) GetNumRowsLimit() int64
- func (x *ReadRowsRequest) GetRowKey() []byte
- func (x *ReadRowsRequest) GetRowRange() *RowRange
- func (x *ReadRowsRequest) GetRowSet() *RowSet
- func (x *ReadRowsRequest) GetTableName() string
- func (m *ReadRowsRequest) GetTarget() isReadRowsRequest_Target
- func (*ReadRowsRequest) ProtoMessage()
- func (x *ReadRowsRequest) ProtoReflect() protoreflect.Message
- func (x *ReadRowsRequest) Reset()
- func (x *ReadRowsRequest) String() string
- type ReadRowsRequest_RowKey
- type ReadRowsRequest_RowRange
- type ReadRowsRequest_RowSet
- type ReadRowsResponse
- func (*ReadRowsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadRowsResponse) GetChunks() []*ReadRowsResponse_Chunk
- func (x *ReadRowsResponse) GetRowKey() []byte
- func (*ReadRowsResponse) ProtoMessage()
- func (x *ReadRowsResponse) ProtoReflect() protoreflect.Message
- func (x *ReadRowsResponse) Reset()
- func (x *ReadRowsResponse) String() string
- type ReadRowsResponse_Chunk
- func (*ReadRowsResponse_Chunk) Descriptor() ([]byte, []int)deprecated
- func (m *ReadRowsResponse_Chunk) GetChunk() isReadRowsResponse_Chunk_Chunk
- func (x *ReadRowsResponse_Chunk) GetCommitRow() bool
- func (x *ReadRowsResponse_Chunk) GetResetRow() bool
- func (x *ReadRowsResponse_Chunk) GetRowContents() *Family
- func (*ReadRowsResponse_Chunk) ProtoMessage()
- func (x *ReadRowsResponse_Chunk) ProtoReflect() protoreflect.Message
- func (x *ReadRowsResponse_Chunk) Reset()
- func (x *ReadRowsResponse_Chunk) String() string
- type ReadRowsResponse_Chunk_CommitRow
- type ReadRowsResponse_Chunk_ResetRow
- type ReadRowsResponse_Chunk_RowContents
- type Row
- type RowFilter
- func (*RowFilter) Descriptor() ([]byte, []int)deprecated
- func (x *RowFilter) GetApplyLabelTransformer() string
- func (x *RowFilter) GetBlockAllFilter() bool
- func (x *RowFilter) GetCellsPerColumnLimitFilter() int32
- func (x *RowFilter) GetCellsPerRowLimitFilter() int32
- func (x *RowFilter) GetCellsPerRowOffsetFilter() int32
- func (x *RowFilter) GetChain() *RowFilter_Chain
- func (x *RowFilter) GetColumnQualifierRegexFilter() []byte
- func (x *RowFilter) GetColumnRangeFilter() *ColumnRange
- func (x *RowFilter) GetCondition() *RowFilter_Condition
- func (x *RowFilter) GetFamilyNameRegexFilter() string
- func (m *RowFilter) GetFilter() isRowFilter_Filter
- func (x *RowFilter) GetInterleave() *RowFilter_Interleave
- func (x *RowFilter) GetPassAllFilter() bool
- func (x *RowFilter) GetRowKeyRegexFilter() []byte
- func (x *RowFilter) GetRowSampleFilter() float64
- func (x *RowFilter) GetSink() bool
- func (x *RowFilter) GetStripValueTransformer() bool
- func (x *RowFilter) GetTimestampRangeFilter() *TimestampRange
- func (x *RowFilter) GetValueRangeFilter() *ValueRange
- func (x *RowFilter) GetValueRegexFilter() []byte
- func (*RowFilter) ProtoMessage()
- func (x *RowFilter) ProtoReflect() protoreflect.Message
- func (x *RowFilter) Reset()
- func (x *RowFilter) String() string
- type RowFilter_ApplyLabelTransformer
- type RowFilter_BlockAllFilter
- type RowFilter_CellsPerColumnLimitFilter
- type RowFilter_CellsPerRowLimitFilter
- type RowFilter_CellsPerRowOffsetFilter
- type RowFilter_Chain
- type RowFilter_Chain_
- type RowFilter_ColumnQualifierRegexFilter
- type RowFilter_ColumnRangeFilter
- type RowFilter_Condition
- func (*RowFilter_Condition) Descriptor() ([]byte, []int)deprecated
- func (x *RowFilter_Condition) GetFalseFilter() *RowFilter
- func (x *RowFilter_Condition) GetPredicateFilter() *RowFilter
- func (x *RowFilter_Condition) GetTrueFilter() *RowFilter
- func (*RowFilter_Condition) ProtoMessage()
- func (x *RowFilter_Condition) ProtoReflect() protoreflect.Message
- func (x *RowFilter_Condition) Reset()
- func (x *RowFilter_Condition) String() string
- type RowFilter_Condition_
- type RowFilter_FamilyNameRegexFilter
- type RowFilter_Interleave
- func (*RowFilter_Interleave) Descriptor() ([]byte, []int)deprecated
- func (x *RowFilter_Interleave) GetFilters() []*RowFilter
- func (*RowFilter_Interleave) ProtoMessage()
- func (x *RowFilter_Interleave) ProtoReflect() protoreflect.Message
- func (x *RowFilter_Interleave) Reset()
- func (x *RowFilter_Interleave) String() string
- type RowFilter_Interleave_
- type RowFilter_PassAllFilter
- type RowFilter_RowKeyRegexFilter
- type RowFilter_RowSampleFilter
- type RowFilter_Sink
- type RowFilter_StripValueTransformer
- type RowFilter_TimestampRangeFilter
- type RowFilter_ValueRangeFilter
- type RowFilter_ValueRegexFilter
- type RowRange
- type RowSet
- type SampleRowKeysRequest
- func (*SampleRowKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SampleRowKeysRequest) GetTableName() string
- func (*SampleRowKeysRequest) ProtoMessage()
- func (x *SampleRowKeysRequest) ProtoReflect() protoreflect.Message
- func (x *SampleRowKeysRequest) Reset()
- func (x *SampleRowKeysRequest) String() string
- type SampleRowKeysResponse
- func (*SampleRowKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SampleRowKeysResponse) GetOffsetBytes() int64
- func (x *SampleRowKeysResponse) GetRowKey() []byte
- func (*SampleRowKeysResponse) ProtoMessage()
- func (x *SampleRowKeysResponse) ProtoReflect() protoreflect.Message
- func (x *SampleRowKeysResponse) Reset()
- func (x *SampleRowKeysResponse) String() string
- type TimestampRange
- func (*TimestampRange) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampRange) GetEndTimestampMicros() int64
- func (x *TimestampRange) GetStartTimestampMicros() int64
- func (*TimestampRange) ProtoMessage()
- func (x *TimestampRange) ProtoReflect() protoreflect.Message
- func (x *TimestampRange) Reset()
- func (x *TimestampRange) String() string
- type UnimplementedBigtableServiceServer
- func (*UnimplementedBigtableServiceServer) CheckAndMutateRow(context.Context, *CheckAndMutateRowRequest) (*CheckAndMutateRowResponse, error)
- func (*UnimplementedBigtableServiceServer) MutateRow(context.Context, *MutateRowRequest) (*emptypb.Empty, error)
- func (*UnimplementedBigtableServiceServer) MutateRows(context.Context, *MutateRowsRequest) (*MutateRowsResponse, error)
- func (*UnimplementedBigtableServiceServer) ReadModifyWriteRow(context.Context, *ReadModifyWriteRowRequest) (*Row, error)
- func (*UnimplementedBigtableServiceServer) ReadRows(*ReadRowsRequest, BigtableService_ReadRowsServer) error
- func (*UnimplementedBigtableServiceServer) SampleRowKeys(*SampleRowKeysRequest, BigtableService_SampleRowKeysServer) error
- type ValueRange
- func (*ValueRange) Descriptor() ([]byte, []int)deprecated
- func (m *ValueRange) GetEndValue() isValueRange_EndValue
- func (x *ValueRange) GetEndValueExclusive() []byte
- func (x *ValueRange) GetEndValueInclusive() []byte
- func (m *ValueRange) GetStartValue() isValueRange_StartValue
- func (x *ValueRange) GetStartValueExclusive() []byte
- func (x *ValueRange) GetStartValueInclusive() []byte
- func (*ValueRange) ProtoMessage()
- func (x *ValueRange) ProtoReflect() protoreflect.Message
- func (x *ValueRange) Reset()
- func (x *ValueRange) String() string
- type ValueRange_EndValueExclusive
- type ValueRange_EndValueInclusive
- type ValueRange_StartValueExclusive
- type ValueRange_StartValueInclusive
Constants ¶
This section is empty.
Variables ¶
var File_google_bigtable_v1_bigtable_data_proto protoreflect.FileDescriptor
var File_google_bigtable_v1_bigtable_service_messages_proto protoreflect.FileDescriptor
var File_google_bigtable_v1_bigtable_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBigtableServiceServer ¶
func RegisterBigtableServiceServer(s *grpc.Server, srv BigtableServiceServer)
Types ¶
type BigtableServiceClient ¶
type BigtableServiceClient interface { // Streams back the contents of all requested rows, optionally applying // the same Reader filter to each. Depending on their size, rows may be // broken up across multiple responses, but atomicity of each row will still // be preserved. ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (BigtableService_ReadRowsClient, error) // Returns a sample of row keys in the table. The returned row keys will // delimit contiguous sections of the table of approximately equal size, // which can be used to break up the data for distributed tasks like // mapreduces. SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (BigtableService_SampleRowKeysClient, error) // Mutates a row atomically. Cells already present in the row are left // unchanged unless explicitly changed by 'mutation'. MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Mutates multiple rows in a batch. Each individual row is mutated // atomically as in MutateRow, but the entire batch is not executed // atomically. MutateRows(ctx context.Context, in *MutateRowsRequest, opts ...grpc.CallOption) (*MutateRowsResponse, error) // Mutates a row atomically based on the output of a predicate Reader filter. CheckAndMutateRow(ctx context.Context, in *CheckAndMutateRowRequest, opts ...grpc.CallOption) (*CheckAndMutateRowResponse, error) // Modifies a row atomically, reading the latest existing timestamp/value from // the specified columns and writing a new value at // max(existing timestamp, current server time) based on pre-defined // read/modify/write rules. Returns the new contents of all modified cells. ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*Row, error) }
BigtableServiceClient is the client API for BigtableService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBigtableServiceClient ¶
func NewBigtableServiceClient(cc grpc.ClientConnInterface) BigtableServiceClient
type BigtableServiceServer ¶
type BigtableServiceServer interface { // Streams back the contents of all requested rows, optionally applying // the same Reader filter to each. Depending on their size, rows may be // broken up across multiple responses, but atomicity of each row will still // be preserved. ReadRows(*ReadRowsRequest, BigtableService_ReadRowsServer) error // Returns a sample of row keys in the table. The returned row keys will // delimit contiguous sections of the table of approximately equal size, // which can be used to break up the data for distributed tasks like // mapreduces. SampleRowKeys(*SampleRowKeysRequest, BigtableService_SampleRowKeysServer) error // Mutates a row atomically. Cells already present in the row are left // unchanged unless explicitly changed by 'mutation'. MutateRow(context.Context, *MutateRowRequest) (*emptypb.Empty, error) // Mutates multiple rows in a batch. Each individual row is mutated // atomically as in MutateRow, but the entire batch is not executed // atomically. MutateRows(context.Context, *MutateRowsRequest) (*MutateRowsResponse, error) // Mutates a row atomically based on the output of a predicate Reader filter. CheckAndMutateRow(context.Context, *CheckAndMutateRowRequest) (*CheckAndMutateRowResponse, error) // Modifies a row atomically, reading the latest existing timestamp/value from // the specified columns and writing a new value at // max(existing timestamp, current server time) based on pre-defined // read/modify/write rules. Returns the new contents of all modified cells. ReadModifyWriteRow(context.Context, *ReadModifyWriteRowRequest) (*Row, error) }
BigtableServiceServer is the server API for BigtableService service.
type BigtableService_ReadRowsClient ¶
type BigtableService_ReadRowsClient interface { Recv() (*ReadRowsResponse, error) grpc.ClientStream }
type BigtableService_ReadRowsServer ¶
type BigtableService_ReadRowsServer interface { Send(*ReadRowsResponse) error grpc.ServerStream }
type BigtableService_SampleRowKeysClient ¶
type BigtableService_SampleRowKeysClient interface { Recv() (*SampleRowKeysResponse, error) grpc.ClientStream }
type BigtableService_SampleRowKeysServer ¶
type BigtableService_SampleRowKeysServer interface { Send(*SampleRowKeysResponse) error grpc.ServerStream }
type Cell ¶
type Cell struct { // The cell's stored timestamp, which also uniquely identifies it within // its column. // Values are always expressed in microseconds, but individual tables may set // a coarser "granularity" to further restrict the allowed values. For // example, a table which specifies millisecond granularity will only allow // values of "timestamp_micros" which are multiples of 1000. TimestampMicros int64 `protobuf:"varint,1,opt,name=timestamp_micros,json=timestampMicros,proto3" json:"timestamp_micros,omitempty"` // The value stored in the cell. // May contain any byte string, including the empty string, up to 100MiB in // length. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Labels applied to the cell by a [RowFilter][google.bigtable.v1.RowFilter]. Labels []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
Specifies (some of) the contents of a single row/column/timestamp of a table.
func (*Cell) Descriptor
deprecated
func (*Cell) GetTimestampMicros ¶
func (*Cell) ProtoMessage ¶
func (*Cell) ProtoMessage()
func (*Cell) ProtoReflect ¶
func (x *Cell) ProtoReflect() protoreflect.Message
type CheckAndMutateRowRequest ¶
type CheckAndMutateRowRequest struct { // The unique name of the table to which the conditional mutation should be // applied. TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // The key of the row to which the conditional mutation should be applied. RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` // The filter to be applied to the contents of the specified row. Depending // on whether or not any results are yielded, either "true_mutations" or // "false_mutations" will be executed. If unset, checks that the row contains // any values at all. PredicateFilter *RowFilter `protobuf:"bytes,6,opt,name=predicate_filter,json=predicateFilter,proto3" json:"predicate_filter,omitempty"` // Changes to be atomically applied to the specified row if "predicate_filter" // yields at least one cell when applied to "row_key". Entries are applied in // order, meaning that earlier mutations can be masked by later ones. // Must contain at least one entry if "false_mutations" is empty, and at most // 100000. TrueMutations []*Mutation `protobuf:"bytes,4,rep,name=true_mutations,json=trueMutations,proto3" json:"true_mutations,omitempty"` // Changes to be atomically applied to the specified row if "predicate_filter" // does not yield any cells when applied to "row_key". Entries are applied in // order, meaning that earlier mutations can be masked by later ones. // Must contain at least one entry if "true_mutations" is empty, and at most // 100000. FalseMutations []*Mutation `protobuf:"bytes,5,rep,name=false_mutations,json=falseMutations,proto3" json:"false_mutations,omitempty"` // contains filtered or unexported fields }
Request message for BigtableService.CheckAndMutateRowRequest
func (*CheckAndMutateRowRequest) Descriptor
deprecated
func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckAndMutateRowRequest.ProtoReflect.Descriptor instead.
func (*CheckAndMutateRowRequest) GetFalseMutations ¶
func (x *CheckAndMutateRowRequest) GetFalseMutations() []*Mutation
func (*CheckAndMutateRowRequest) GetPredicateFilter ¶
func (x *CheckAndMutateRowRequest) GetPredicateFilter() *RowFilter
func (*CheckAndMutateRowRequest) GetRowKey ¶
func (x *CheckAndMutateRowRequest) GetRowKey() []byte
func (*CheckAndMutateRowRequest) GetTableName ¶
func (x *CheckAndMutateRowRequest) GetTableName() string
func (*CheckAndMutateRowRequest) GetTrueMutations ¶
func (x *CheckAndMutateRowRequest) GetTrueMutations() []*Mutation
func (*CheckAndMutateRowRequest) ProtoMessage ¶
func (*CheckAndMutateRowRequest) ProtoMessage()
func (*CheckAndMutateRowRequest) ProtoReflect ¶
func (x *CheckAndMutateRowRequest) ProtoReflect() protoreflect.Message
func (*CheckAndMutateRowRequest) Reset ¶
func (x *CheckAndMutateRowRequest) Reset()
func (*CheckAndMutateRowRequest) String ¶
func (x *CheckAndMutateRowRequest) String() string
type CheckAndMutateRowResponse ¶
type CheckAndMutateRowResponse struct { // Whether or not the request's "predicate_filter" yielded any results for // the specified row. PredicateMatched bool `protobuf:"varint,1,opt,name=predicate_matched,json=predicateMatched,proto3" json:"predicate_matched,omitempty"` // contains filtered or unexported fields }
Response message for BigtableService.CheckAndMutateRowRequest.
func (*CheckAndMutateRowResponse) Descriptor
deprecated
func (*CheckAndMutateRowResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckAndMutateRowResponse.ProtoReflect.Descriptor instead.
func (*CheckAndMutateRowResponse) GetPredicateMatched ¶
func (x *CheckAndMutateRowResponse) GetPredicateMatched() bool
func (*CheckAndMutateRowResponse) ProtoMessage ¶
func (*CheckAndMutateRowResponse) ProtoMessage()
func (*CheckAndMutateRowResponse) ProtoReflect ¶
func (x *CheckAndMutateRowResponse) ProtoReflect() protoreflect.Message
func (*CheckAndMutateRowResponse) Reset ¶
func (x *CheckAndMutateRowResponse) Reset()
func (*CheckAndMutateRowResponse) String ¶
func (x *CheckAndMutateRowResponse) String() string
type Column ¶
type Column struct { // The unique key which identifies this column within its family. This is the // same key that's used to identify the column in, for example, a RowFilter // which sets its "column_qualifier_regex_filter" field. // May contain any byte string, including the empty string, up to 16kiB in // length. Qualifier []byte `protobuf:"bytes,1,opt,name=qualifier,proto3" json:"qualifier,omitempty"` // Must not be empty. Sorted in order of decreasing "timestamp_micros". Cells []*Cell `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` // contains filtered or unexported fields }
Specifies (some of) the contents of a single row/column of a table.
func (*Column) Descriptor
deprecated
func (*Column) GetQualifier ¶
func (*Column) ProtoMessage ¶
func (*Column) ProtoMessage()
func (*Column) ProtoReflect ¶
func (x *Column) ProtoReflect() protoreflect.Message
type ColumnRange ¶
type ColumnRange struct { // The name of the column family within which this range falls. FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` // The column qualifier at which to start the range (within 'column_family'). // If neither field is set, interpreted as the empty string, inclusive. // // Types that are assignable to StartQualifier: // *ColumnRange_StartQualifierInclusive // *ColumnRange_StartQualifierExclusive StartQualifier isColumnRange_StartQualifier `protobuf_oneof:"start_qualifier"` // The column qualifier at which to end the range (within 'column_family'). // If neither field is set, interpreted as the infinite string, exclusive. // // Types that are assignable to EndQualifier: // *ColumnRange_EndQualifierInclusive // *ColumnRange_EndQualifierExclusive EndQualifier isColumnRange_EndQualifier `protobuf_oneof:"end_qualifier"` // contains filtered or unexported fields }
Specifies a contiguous range of columns within a single column family. The range spans from <column_family>:<start_qualifier> to <column_family>:<end_qualifier>, where both bounds can be either inclusive or exclusive.
func (*ColumnRange) Descriptor
deprecated
func (*ColumnRange) Descriptor() ([]byte, []int)
Deprecated: Use ColumnRange.ProtoReflect.Descriptor instead.
func (*ColumnRange) GetEndQualifier ¶
func (m *ColumnRange) GetEndQualifier() isColumnRange_EndQualifier
func (*ColumnRange) GetEndQualifierExclusive ¶
func (x *ColumnRange) GetEndQualifierExclusive() []byte
func (*ColumnRange) GetEndQualifierInclusive ¶
func (x *ColumnRange) GetEndQualifierInclusive() []byte
func (*ColumnRange) GetFamilyName ¶
func (x *ColumnRange) GetFamilyName() string
func (*ColumnRange) GetStartQualifier ¶
func (m *ColumnRange) GetStartQualifier() isColumnRange_StartQualifier
func (*ColumnRange) GetStartQualifierExclusive ¶
func (x *ColumnRange) GetStartQualifierExclusive() []byte
func (*ColumnRange) GetStartQualifierInclusive ¶
func (x *ColumnRange) GetStartQualifierInclusive() []byte
func (*ColumnRange) ProtoMessage ¶
func (*ColumnRange) ProtoMessage()
func (*ColumnRange) ProtoReflect ¶
func (x *ColumnRange) ProtoReflect() protoreflect.Message
func (*ColumnRange) Reset ¶
func (x *ColumnRange) Reset()
func (*ColumnRange) String ¶
func (x *ColumnRange) String() string
type ColumnRange_EndQualifierExclusive ¶
type ColumnRange_EndQualifierExclusive struct { // Used when giving an exclusive upper bound for the range. EndQualifierExclusive []byte `protobuf:"bytes,5,opt,name=end_qualifier_exclusive,json=endQualifierExclusive,proto3,oneof"` }
type ColumnRange_EndQualifierInclusive ¶
type ColumnRange_EndQualifierInclusive struct { // Used when giving an inclusive upper bound for the range. EndQualifierInclusive []byte `protobuf:"bytes,4,opt,name=end_qualifier_inclusive,json=endQualifierInclusive,proto3,oneof"` }
type ColumnRange_StartQualifierExclusive ¶
type ColumnRange_StartQualifierExclusive struct { // Used when giving an exclusive lower bound for the range. StartQualifierExclusive []byte `protobuf:"bytes,3,opt,name=start_qualifier_exclusive,json=startQualifierExclusive,proto3,oneof"` }
type ColumnRange_StartQualifierInclusive ¶
type ColumnRange_StartQualifierInclusive struct { // Used when giving an inclusive lower bound for the range. StartQualifierInclusive []byte `protobuf:"bytes,2,opt,name=start_qualifier_inclusive,json=startQualifierInclusive,proto3,oneof"` }
type Family ¶
type Family struct { // The unique key which identifies this family within its row. This is the // same key that's used to identify the family in, for example, a RowFilter // which sets its "family_name_regex_filter" field. // Must match [-_.a-zA-Z0-9]+, except that AggregatingRowProcessors may // produce cells in a sentinel family with an empty name. // Must be no greater than 64 characters in length. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Must not be empty. Sorted in order of increasing "qualifier". Columns []*Column `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"` // contains filtered or unexported fields }
Specifies (some of) the contents of a single row/column family of a table.
func (*Family) Descriptor
deprecated
func (*Family) GetColumns ¶
func (*Family) ProtoMessage ¶
func (*Family) ProtoMessage()
func (*Family) ProtoReflect ¶
func (x *Family) ProtoReflect() protoreflect.Message
type MutateRowRequest ¶
type MutateRowRequest struct { // The unique name of the table to which the mutation should be applied. TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // The key of the row to which the mutation should be applied. RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` // Changes to be atomically applied to the specified row. Entries are applied // in order, meaning that earlier mutations can be masked by later ones. // Must contain at least one entry and at most 100000. Mutations []*Mutation `protobuf:"bytes,3,rep,name=mutations,proto3" json:"mutations,omitempty"` // contains filtered or unexported fields }
Request message for BigtableService.MutateRow.
func (*MutateRowRequest) Descriptor
deprecated
func (*MutateRowRequest) Descriptor() ([]byte, []int)
Deprecated: Use MutateRowRequest.ProtoReflect.Descriptor instead.
func (*MutateRowRequest) GetMutations ¶
func (x *MutateRowRequest) GetMutations() []*Mutation
func (*MutateRowRequest) GetRowKey ¶
func (x *MutateRowRequest) GetRowKey() []byte
func (*MutateRowRequest) GetTableName ¶
func (x *MutateRowRequest) GetTableName() string
func (*MutateRowRequest) ProtoMessage ¶
func (*MutateRowRequest) ProtoMessage()
func (*MutateRowRequest) ProtoReflect ¶
func (x *MutateRowRequest) ProtoReflect() protoreflect.Message
func (*MutateRowRequest) Reset ¶
func (x *MutateRowRequest) Reset()
func (*MutateRowRequest) String ¶
func (x *MutateRowRequest) String() string
type MutateRowsRequest ¶
type MutateRowsRequest struct { // The unique name of the table to which the mutations should be applied. TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // The row keys/mutations to be applied in bulk. // Each entry is applied as an atomic mutation, but the entries may be // applied in arbitrary order (even between entries for the same row). // At least one entry must be specified, and in total the entries may // contain at most 100000 mutations. Entries []*MutateRowsRequest_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
Request message for BigtableService.MutateRows.
func (*MutateRowsRequest) Descriptor
deprecated
func (*MutateRowsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MutateRowsRequest.ProtoReflect.Descriptor instead.
func (*MutateRowsRequest) GetEntries ¶
func (x *MutateRowsRequest) GetEntries() []*MutateRowsRequest_Entry
func (*MutateRowsRequest) GetTableName ¶
func (x *MutateRowsRequest) GetTableName() string
func (*MutateRowsRequest) ProtoMessage ¶
func (*MutateRowsRequest) ProtoMessage()
func (*MutateRowsRequest) ProtoReflect ¶
func (x *MutateRowsRequest) ProtoReflect() protoreflect.Message
func (*MutateRowsRequest) Reset ¶
func (x *MutateRowsRequest) Reset()
func (*MutateRowsRequest) String ¶
func (x *MutateRowsRequest) String() string
type MutateRowsRequest_Entry ¶
type MutateRowsRequest_Entry struct { // The key of the row to which the `mutations` should be applied. RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` // Changes to be atomically applied to the specified row. Mutations are // applied in order, meaning that earlier mutations can be masked by // later ones. // At least one mutation must be specified. Mutations []*Mutation `protobuf:"bytes,2,rep,name=mutations,proto3" json:"mutations,omitempty"` // contains filtered or unexported fields }
func (*MutateRowsRequest_Entry) Descriptor
deprecated
func (*MutateRowsRequest_Entry) Descriptor() ([]byte, []int)
Deprecated: Use MutateRowsRequest_Entry.ProtoReflect.Descriptor instead.
func (*MutateRowsRequest_Entry) GetMutations ¶
func (x *MutateRowsRequest_Entry) GetMutations() []*Mutation
func (*MutateRowsRequest_Entry) GetRowKey ¶
func (x *MutateRowsRequest_Entry) GetRowKey() []byte
func (*MutateRowsRequest_Entry) ProtoMessage ¶
func (*MutateRowsRequest_Entry) ProtoMessage()
func (*MutateRowsRequest_Entry) ProtoReflect ¶
func (x *MutateRowsRequest_Entry) ProtoReflect() protoreflect.Message
func (*MutateRowsRequest_Entry) Reset ¶
func (x *MutateRowsRequest_Entry) Reset()
func (*MutateRowsRequest_Entry) String ¶
func (x *MutateRowsRequest_Entry) String() string
type MutateRowsResponse ¶
type MutateRowsResponse struct { // The results for each Entry from the request, presented in the order // in which the entries were originally given. // Depending on how requests are batched during execution, it is possible // for one Entry to fail due to an error with another Entry. In the event // that this occurs, the same error will be reported for both entries. Statuses []*status.Status `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"` // contains filtered or unexported fields }
Response message for BigtableService.MutateRows.
func (*MutateRowsResponse) Descriptor
deprecated
func (*MutateRowsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MutateRowsResponse.ProtoReflect.Descriptor instead.
func (*MutateRowsResponse) GetStatuses ¶
func (x *MutateRowsResponse) GetStatuses() []*status.Status
func (*MutateRowsResponse) ProtoMessage ¶
func (*MutateRowsResponse) ProtoMessage()
func (*MutateRowsResponse) ProtoReflect ¶
func (x *MutateRowsResponse) ProtoReflect() protoreflect.Message
func (*MutateRowsResponse) Reset ¶
func (x *MutateRowsResponse) Reset()
func (*MutateRowsResponse) String ¶
func (x *MutateRowsResponse) String() string
type Mutation ¶
type Mutation struct { // Which of the possible Mutation types to apply. // // Types that are assignable to Mutation: // *Mutation_SetCell_ // *Mutation_DeleteFromColumn_ // *Mutation_DeleteFromFamily_ // *Mutation_DeleteFromRow_ Mutation isMutation_Mutation `protobuf_oneof:"mutation"` // contains filtered or unexported fields }
Specifies a particular change to be made to the contents of a row.
func (*Mutation) Descriptor
deprecated
func (*Mutation) GetDeleteFromColumn ¶
func (x *Mutation) GetDeleteFromColumn() *Mutation_DeleteFromColumn
func (*Mutation) GetDeleteFromFamily ¶
func (x *Mutation) GetDeleteFromFamily() *Mutation_DeleteFromFamily
func (*Mutation) GetDeleteFromRow ¶
func (x *Mutation) GetDeleteFromRow() *Mutation_DeleteFromRow
func (*Mutation) GetMutation ¶
func (m *Mutation) GetMutation() isMutation_Mutation
func (*Mutation) GetSetCell ¶
func (x *Mutation) GetSetCell() *Mutation_SetCell
func (*Mutation) ProtoMessage ¶
func (*Mutation) ProtoMessage()
func (*Mutation) ProtoReflect ¶
func (x *Mutation) ProtoReflect() protoreflect.Message
type Mutation_DeleteFromColumn ¶
type Mutation_DeleteFromColumn struct { // The name of the family from which cells should be deleted. // Must match [-_.a-zA-Z0-9]+ FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` // The qualifier of the column from which cells should be deleted. // Can be any byte string, including the empty string. ColumnQualifier []byte `protobuf:"bytes,2,opt,name=column_qualifier,json=columnQualifier,proto3" json:"column_qualifier,omitempty"` // The range of timestamps within which cells should be deleted. TimeRange *TimestampRange `protobuf:"bytes,3,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"` // contains filtered or unexported fields }
A Mutation which deletes cells from the specified column, optionally restricting the deletions to a given timestamp range.
func (*Mutation_DeleteFromColumn) Descriptor
deprecated
func (*Mutation_DeleteFromColumn) Descriptor() ([]byte, []int)
Deprecated: Use Mutation_DeleteFromColumn.ProtoReflect.Descriptor instead.
func (*Mutation_DeleteFromColumn) GetColumnQualifier ¶
func (x *Mutation_DeleteFromColumn) GetColumnQualifier() []byte
func (*Mutation_DeleteFromColumn) GetFamilyName ¶
func (x *Mutation_DeleteFromColumn) GetFamilyName() string
func (*Mutation_DeleteFromColumn) GetTimeRange ¶
func (x *Mutation_DeleteFromColumn) GetTimeRange() *TimestampRange
func (*Mutation_DeleteFromColumn) ProtoMessage ¶
func (*Mutation_DeleteFromColumn) ProtoMessage()
func (*Mutation_DeleteFromColumn) ProtoReflect ¶
func (x *Mutation_DeleteFromColumn) ProtoReflect() protoreflect.Message
func (*Mutation_DeleteFromColumn) Reset ¶
func (x *Mutation_DeleteFromColumn) Reset()
func (*Mutation_DeleteFromColumn) String ¶
func (x *Mutation_DeleteFromColumn) String() string
type Mutation_DeleteFromColumn_ ¶
type Mutation_DeleteFromColumn_ struct { // Deletes cells from a column. DeleteFromColumn *Mutation_DeleteFromColumn `protobuf:"bytes,2,opt,name=delete_from_column,json=deleteFromColumn,proto3,oneof"` }
type Mutation_DeleteFromFamily ¶
type Mutation_DeleteFromFamily struct { // The name of the family from which cells should be deleted. // Must match [-_.a-zA-Z0-9]+ FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` // contains filtered or unexported fields }
A Mutation which deletes all cells from the specified column family.
func (*Mutation_DeleteFromFamily) Descriptor
deprecated
func (*Mutation_DeleteFromFamily) Descriptor() ([]byte, []int)
Deprecated: Use Mutation_DeleteFromFamily.ProtoReflect.Descriptor instead.
func (*Mutation_DeleteFromFamily) GetFamilyName ¶
func (x *Mutation_DeleteFromFamily) GetFamilyName() string
func (*Mutation_DeleteFromFamily) ProtoMessage ¶
func (*Mutation_DeleteFromFamily) ProtoMessage()
func (*Mutation_DeleteFromFamily) ProtoReflect ¶
func (x *Mutation_DeleteFromFamily) ProtoReflect() protoreflect.Message
func (*Mutation_DeleteFromFamily) Reset ¶
func (x *Mutation_DeleteFromFamily) Reset()
func (*Mutation_DeleteFromFamily) String ¶
func (x *Mutation_DeleteFromFamily) String() string
type Mutation_DeleteFromFamily_ ¶
type Mutation_DeleteFromFamily_ struct { // Deletes cells from a column family. DeleteFromFamily *Mutation_DeleteFromFamily `protobuf:"bytes,3,opt,name=delete_from_family,json=deleteFromFamily,proto3,oneof"` }
type Mutation_DeleteFromRow ¶
type Mutation_DeleteFromRow struct {
// contains filtered or unexported fields
}
A Mutation which deletes all cells from the containing row.
func (*Mutation_DeleteFromRow) Descriptor
deprecated
func (*Mutation_DeleteFromRow) Descriptor() ([]byte, []int)
Deprecated: Use Mutation_DeleteFromRow.ProtoReflect.Descriptor instead.
func (*Mutation_DeleteFromRow) ProtoMessage ¶
func (*Mutation_DeleteFromRow) ProtoMessage()
func (*Mutation_DeleteFromRow) ProtoReflect ¶
func (x *Mutation_DeleteFromRow) ProtoReflect() protoreflect.Message
func (*Mutation_DeleteFromRow) Reset ¶
func (x *Mutation_DeleteFromRow) Reset()
func (*Mutation_DeleteFromRow) String ¶
func (x *Mutation_DeleteFromRow) String() string
type Mutation_DeleteFromRow_ ¶
type Mutation_DeleteFromRow_ struct { // Deletes cells from the entire row. DeleteFromRow *Mutation_DeleteFromRow `protobuf:"bytes,4,opt,name=delete_from_row,json=deleteFromRow,proto3,oneof"` }
type Mutation_SetCell ¶
type Mutation_SetCell struct { // The name of the family into which new data should be written. // Must match [-_.a-zA-Z0-9]+ FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` // The qualifier of the column into which new data should be written. // Can be any byte string, including the empty string. ColumnQualifier []byte `protobuf:"bytes,2,opt,name=column_qualifier,json=columnQualifier,proto3" json:"column_qualifier,omitempty"` // The timestamp of the cell into which new data should be written. // Use -1 for current Bigtable server time. // Otherwise, the client should set this value itself, noting that the // default value is a timestamp of zero if the field is left unspecified. // Values must match the "granularity" of the table (e.g. micros, millis). TimestampMicros int64 `protobuf:"varint,3,opt,name=timestamp_micros,json=timestampMicros,proto3" json:"timestamp_micros,omitempty"` // The value to be written into the specified cell. Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A Mutation which sets the value of the specified cell.
func (*Mutation_SetCell) Descriptor
deprecated
func (*Mutation_SetCell) Descriptor() ([]byte, []int)
Deprecated: Use Mutation_SetCell.ProtoReflect.Descriptor instead.
func (*Mutation_SetCell) GetColumnQualifier ¶
func (x *Mutation_SetCell) GetColumnQualifier() []byte
func (*Mutation_SetCell) GetFamilyName ¶
func (x *Mutation_SetCell) GetFamilyName() string
func (*Mutation_SetCell) GetTimestampMicros ¶
func (x *Mutation_SetCell) GetTimestampMicros() int64
func (*Mutation_SetCell) GetValue ¶
func (x *Mutation_SetCell) GetValue() []byte
func (*Mutation_SetCell) ProtoMessage ¶
func (*Mutation_SetCell) ProtoMessage()
func (*Mutation_SetCell) ProtoReflect ¶
func (x *Mutation_SetCell) ProtoReflect() protoreflect.Message
func (*Mutation_SetCell) Reset ¶
func (x *Mutation_SetCell) Reset()
func (*Mutation_SetCell) String ¶
func (x *Mutation_SetCell) String() string
type Mutation_SetCell_ ¶
type Mutation_SetCell_ struct { // Set a cell's value. SetCell *Mutation_SetCell `protobuf:"bytes,1,opt,name=set_cell,json=setCell,proto3,oneof"` }
type ReadModifyWriteRowRequest ¶
type ReadModifyWriteRowRequest struct { // The unique name of the table to which the read/modify/write rules should be // applied. TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // The key of the row to which the read/modify/write rules should be applied. RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` // Rules specifying how the specified row's contents are to be transformed // into writes. Entries are applied in order, meaning that earlier rules will // affect the results of later ones. Rules []*ReadModifyWriteRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
Request message for BigtableService.ReadModifyWriteRowRequest.
func (*ReadModifyWriteRowRequest) Descriptor
deprecated
func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadModifyWriteRowRequest.ProtoReflect.Descriptor instead.
func (*ReadModifyWriteRowRequest) GetRowKey ¶
func (x *ReadModifyWriteRowRequest) GetRowKey() []byte
func (*ReadModifyWriteRowRequest) GetRules ¶
func (x *ReadModifyWriteRowRequest) GetRules() []*ReadModifyWriteRule
func (*ReadModifyWriteRowRequest) GetTableName ¶
func (x *ReadModifyWriteRowRequest) GetTableName() string
func (*ReadModifyWriteRowRequest) ProtoMessage ¶
func (*ReadModifyWriteRowRequest) ProtoMessage()
func (*ReadModifyWriteRowRequest) ProtoReflect ¶
func (x *ReadModifyWriteRowRequest) ProtoReflect() protoreflect.Message
func (*ReadModifyWriteRowRequest) Reset ¶
func (x *ReadModifyWriteRowRequest) Reset()
func (*ReadModifyWriteRowRequest) String ¶
func (x *ReadModifyWriteRowRequest) String() string
type ReadModifyWriteRule ¶
type ReadModifyWriteRule struct { // The name of the family to which the read/modify/write should be applied. // Must match [-_.a-zA-Z0-9]+ FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` // The qualifier of the column to which the read/modify/write should be // applied. // Can be any byte string, including the empty string. ColumnQualifier []byte `protobuf:"bytes,2,opt,name=column_qualifier,json=columnQualifier,proto3" json:"column_qualifier,omitempty"` // The rule used to determine the column's new latest value from its current // latest value. // // Types that are assignable to Rule: // *ReadModifyWriteRule_AppendValue // *ReadModifyWriteRule_IncrementAmount Rule isReadModifyWriteRule_Rule `protobuf_oneof:"rule"` // contains filtered or unexported fields }
Specifies an atomic read/modify/write operation on the latest value of the specified column.
func (*ReadModifyWriteRule) Descriptor
deprecated
func (*ReadModifyWriteRule) Descriptor() ([]byte, []int)
Deprecated: Use ReadModifyWriteRule.ProtoReflect.Descriptor instead.
func (*ReadModifyWriteRule) GetAppendValue ¶
func (x *ReadModifyWriteRule) GetAppendValue() []byte
func (*ReadModifyWriteRule) GetColumnQualifier ¶
func (x *ReadModifyWriteRule) GetColumnQualifier() []byte
func (*ReadModifyWriteRule) GetFamilyName ¶
func (x *ReadModifyWriteRule) GetFamilyName() string
func (*ReadModifyWriteRule) GetIncrementAmount ¶
func (x *ReadModifyWriteRule) GetIncrementAmount() int64
func (*ReadModifyWriteRule) GetRule ¶
func (m *ReadModifyWriteRule) GetRule() isReadModifyWriteRule_Rule
func (*ReadModifyWriteRule) ProtoMessage ¶
func (*ReadModifyWriteRule) ProtoMessage()
func (*ReadModifyWriteRule) ProtoReflect ¶
func (x *ReadModifyWriteRule) ProtoReflect() protoreflect.Message
func (*ReadModifyWriteRule) Reset ¶
func (x *ReadModifyWriteRule) Reset()
func (*ReadModifyWriteRule) String ¶
func (x *ReadModifyWriteRule) String() string
type ReadModifyWriteRule_AppendValue ¶
type ReadModifyWriteRule_AppendValue struct { // Rule specifying that "append_value" be appended to the existing value. // If the targeted cell is unset, it will be treated as containing the // empty string. AppendValue []byte `protobuf:"bytes,3,opt,name=append_value,json=appendValue,proto3,oneof"` }
type ReadModifyWriteRule_IncrementAmount ¶
type ReadModifyWriteRule_IncrementAmount struct { // Rule specifying that "increment_amount" be added to the existing value. // If the targeted cell is unset, it will be treated as containing a zero. // Otherwise, the targeted cell must contain an 8-byte value (interpreted // as a 64-bit big-endian signed integer), or the entire request will fail. IncrementAmount int64 `protobuf:"varint,4,opt,name=increment_amount,json=incrementAmount,proto3,oneof"` }
type ReadRowsRequest ¶
type ReadRowsRequest struct { // The unique name of the table from which to read. TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // If neither row_key nor row_range is set, reads from all rows. // // Types that are assignable to Target: // *ReadRowsRequest_RowKey // *ReadRowsRequest_RowRange // *ReadRowsRequest_RowSet Target isReadRowsRequest_Target `protobuf_oneof:"target"` // The filter to apply to the contents of the specified row(s). If unset, // reads the entire table. Filter *RowFilter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` // By default, rows are read sequentially, producing results which are // guaranteed to arrive in increasing row order. Setting // "allow_row_interleaving" to true allows multiple rows to be interleaved in // the response stream, which increases throughput but breaks this guarantee, // and may force the client to use more memory to buffer partially-received // rows. Cannot be set to true when specifying "num_rows_limit". AllowRowInterleaving bool `protobuf:"varint,6,opt,name=allow_row_interleaving,json=allowRowInterleaving,proto3" json:"allow_row_interleaving,omitempty"` // The read will terminate after committing to N rows' worth of results. The // default (zero) is to return all results. // Note that "allow_row_interleaving" cannot be set to true when this is set. NumRowsLimit int64 `protobuf:"varint,7,opt,name=num_rows_limit,json=numRowsLimit,proto3" json:"num_rows_limit,omitempty"` // contains filtered or unexported fields }
Request message for BigtableServer.ReadRows.
func (*ReadRowsRequest) Descriptor
deprecated
func (*ReadRowsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadRowsRequest.ProtoReflect.Descriptor instead.
func (*ReadRowsRequest) GetAllowRowInterleaving ¶
func (x *ReadRowsRequest) GetAllowRowInterleaving() bool
func (*ReadRowsRequest) GetFilter ¶
func (x *ReadRowsRequest) GetFilter() *RowFilter
func (*ReadRowsRequest) GetNumRowsLimit ¶
func (x *ReadRowsRequest) GetNumRowsLimit() int64
func (*ReadRowsRequest) GetRowKey ¶
func (x *ReadRowsRequest) GetRowKey() []byte
func (*ReadRowsRequest) GetRowRange ¶
func (x *ReadRowsRequest) GetRowRange() *RowRange
func (*ReadRowsRequest) GetRowSet ¶
func (x *ReadRowsRequest) GetRowSet() *RowSet
func (*ReadRowsRequest) GetTableName ¶
func (x *ReadRowsRequest) GetTableName() string
func (*ReadRowsRequest) GetTarget ¶
func (m *ReadRowsRequest) GetTarget() isReadRowsRequest_Target
func (*ReadRowsRequest) ProtoMessage ¶
func (*ReadRowsRequest) ProtoMessage()
func (*ReadRowsRequest) ProtoReflect ¶
func (x *ReadRowsRequest) ProtoReflect() protoreflect.Message
func (*ReadRowsRequest) Reset ¶
func (x *ReadRowsRequest) Reset()
func (*ReadRowsRequest) String ¶
func (x *ReadRowsRequest) String() string
type ReadRowsRequest_RowKey ¶
type ReadRowsRequest_RowKey struct { // The key of a single row from which to read. RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3,oneof"` }
type ReadRowsRequest_RowRange ¶
type ReadRowsRequest_RowRange struct { // A range of rows from which to read. RowRange *RowRange `protobuf:"bytes,3,opt,name=row_range,json=rowRange,proto3,oneof"` }
type ReadRowsRequest_RowSet ¶
type ReadRowsRequest_RowSet struct { // A set of rows from which to read. Entries need not be in order, and will // be deduplicated before reading. // The total serialized size of the set must not exceed 1MB. RowSet *RowSet `protobuf:"bytes,8,opt,name=row_set,json=rowSet,proto3,oneof"` }
type ReadRowsResponse ¶
type ReadRowsResponse struct { // The key of the row for which we're receiving data. // Results will be received in increasing row key order, unless // "allow_row_interleaving" was specified in the request. RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` // One or more chunks of the row specified by "row_key". Chunks []*ReadRowsResponse_Chunk `protobuf:"bytes,2,rep,name=chunks,proto3" json:"chunks,omitempty"` // contains filtered or unexported fields }
Response message for BigtableService.ReadRows.
func (*ReadRowsResponse) Descriptor
deprecated
func (*ReadRowsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadRowsResponse.ProtoReflect.Descriptor instead.
func (*ReadRowsResponse) GetChunks ¶
func (x *ReadRowsResponse) GetChunks() []*ReadRowsResponse_Chunk
func (*ReadRowsResponse) GetRowKey ¶
func (x *ReadRowsResponse) GetRowKey() []byte
func (*ReadRowsResponse) ProtoMessage ¶
func (*ReadRowsResponse) ProtoMessage()
func (*ReadRowsResponse) ProtoReflect ¶
func (x *ReadRowsResponse) ProtoReflect() protoreflect.Message
func (*ReadRowsResponse) Reset ¶
func (x *ReadRowsResponse) Reset()
func (*ReadRowsResponse) String ¶
func (x *ReadRowsResponse) String() string
type ReadRowsResponse_Chunk ¶
type ReadRowsResponse_Chunk struct { // Types that are assignable to Chunk: // *ReadRowsResponse_Chunk_RowContents // *ReadRowsResponse_Chunk_ResetRow // *ReadRowsResponse_Chunk_CommitRow Chunk isReadRowsResponse_Chunk_Chunk `protobuf_oneof:"chunk"` // contains filtered or unexported fields }
Specifies a piece of a row's contents returned as part of the read response stream.
func (*ReadRowsResponse_Chunk) Descriptor
deprecated
func (*ReadRowsResponse_Chunk) Descriptor() ([]byte, []int)
Deprecated: Use ReadRowsResponse_Chunk.ProtoReflect.Descriptor instead.
func (*ReadRowsResponse_Chunk) GetChunk ¶
func (m *ReadRowsResponse_Chunk) GetChunk() isReadRowsResponse_Chunk_Chunk
func (*ReadRowsResponse_Chunk) GetCommitRow ¶
func (x *ReadRowsResponse_Chunk) GetCommitRow() bool
func (*ReadRowsResponse_Chunk) GetResetRow ¶
func (x *ReadRowsResponse_Chunk) GetResetRow() bool
func (*ReadRowsResponse_Chunk) GetRowContents ¶
func (x *ReadRowsResponse_Chunk) GetRowContents() *Family
func (*ReadRowsResponse_Chunk) ProtoMessage ¶
func (*ReadRowsResponse_Chunk) ProtoMessage()
func (*ReadRowsResponse_Chunk) ProtoReflect ¶
func (x *ReadRowsResponse_Chunk) ProtoReflect() protoreflect.Message
func (*ReadRowsResponse_Chunk) Reset ¶
func (x *ReadRowsResponse_Chunk) Reset()
func (*ReadRowsResponse_Chunk) String ¶
func (x *ReadRowsResponse_Chunk) String() string
type ReadRowsResponse_Chunk_CommitRow ¶
type ReadRowsResponse_Chunk_CommitRow struct { // Indicates that the client can safely process all previous chunks for // "row_key", as its data has been fully read. CommitRow bool `protobuf:"varint,3,opt,name=commit_row,json=commitRow,proto3,oneof"` }
type ReadRowsResponse_Chunk_ResetRow ¶
type ReadRowsResponse_Chunk_ResetRow struct { // Indicates that the client should drop all previous chunks for // "row_key", as it will be re-read from the beginning. ResetRow bool `protobuf:"varint,2,opt,name=reset_row,json=resetRow,proto3,oneof"` }
type ReadRowsResponse_Chunk_RowContents ¶
type ReadRowsResponse_Chunk_RowContents struct { // A subset of the data from a particular row. As long as no "reset_row" // is received in between, multiple "row_contents" from the same row are // from the same atomic view of that row, and will be received in the // expected family/column/timestamp order. RowContents *Family `protobuf:"bytes,1,opt,name=row_contents,json=rowContents,proto3,oneof"` }
type Row ¶
type Row struct { // The unique key which identifies this row within its table. This is the same // key that's used to identify the row in, for example, a MutateRowRequest. // May contain any non-empty byte string up to 4KiB in length. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // May be empty, but only if the entire row is empty. // The mutual ordering of column families is not specified. Families []*Family `protobuf:"bytes,2,rep,name=families,proto3" json:"families,omitempty"` // contains filtered or unexported fields }
Specifies the complete (requested) contents of a single row of a table. Rows which exceed 256MiB in size cannot be read in full.
func (*Row) Descriptor
deprecated
func (*Row) GetFamilies ¶
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) ProtoReflect ¶
func (x *Row) ProtoReflect() protoreflect.Message
type RowFilter ¶
type RowFilter struct { // Which of the possible RowFilter types to apply. If none are set, this // RowFilter returns all cells in the input row. // // Types that are assignable to Filter: // *RowFilter_Chain_ // *RowFilter_Interleave_ // *RowFilter_Condition_ // *RowFilter_Sink // *RowFilter_PassAllFilter // *RowFilter_BlockAllFilter // *RowFilter_RowKeyRegexFilter // *RowFilter_RowSampleFilter // *RowFilter_FamilyNameRegexFilter // *RowFilter_ColumnQualifierRegexFilter // *RowFilter_ColumnRangeFilter // *RowFilter_TimestampRangeFilter // *RowFilter_ValueRegexFilter // *RowFilter_ValueRangeFilter // *RowFilter_CellsPerRowOffsetFilter // *RowFilter_CellsPerRowLimitFilter // *RowFilter_CellsPerColumnLimitFilter // *RowFilter_StripValueTransformer // *RowFilter_ApplyLabelTransformer Filter isRowFilter_Filter `protobuf_oneof:"filter"` // contains filtered or unexported fields }
Takes a row as input and produces an alternate view of the row based on specified rules. For example, a RowFilter might trim down a row to include just the cells from columns matching a given regular expression, or might return all the cells of a row but not their values. More complicated filters can be composed out of these components to express requests such as, "within every column of a particular family, give just the two most recent cells which are older than timestamp X."
There are two broad categories of RowFilters (true filters and transformers), as well as two ways to compose simple filters into more complex ones (chains and interleaves). They work as follows:
* True filters alter the input row by excluding some of its cells wholesale from the output row. An example of a true filter is the "value_regex_filter", which excludes cells whose values don't match the specified pattern. All regex true filters use RE2 syntax (https://github.com/google/re2/wiki/Syntax) in raw byte mode (RE2::Latin1), and are evaluated as full matches. An important point to keep in mind is that RE2(.) is equivalent by default to RE2([^\n]), meaning that it does not match newlines. When attempting to match an arbitrary byte, you should therefore use the escape sequence '\C', which may need to be further escaped as '\\C' in your client language.
* Transformers alter the input row by changing the values of some of its cells in the output, without excluding them completely. Currently, the only supported transformer is the "strip_value_transformer", which replaces every cell's value with the empty string.
* Chains and interleaves are described in more detail in the RowFilter.Chain and RowFilter.Interleave documentation.
The total serialized size of a RowFilter message must not exceed 4096 bytes, and RowFilters may not be nested within each other (in Chains or Interleaves) to a depth of more than 20.
func (*RowFilter) Descriptor
deprecated
func (*RowFilter) GetApplyLabelTransformer ¶
func (*RowFilter) GetBlockAllFilter ¶
func (*RowFilter) GetCellsPerColumnLimitFilter ¶
func (*RowFilter) GetCellsPerRowLimitFilter ¶
func (*RowFilter) GetCellsPerRowOffsetFilter ¶
func (*RowFilter) GetChain ¶
func (x *RowFilter) GetChain() *RowFilter_Chain
func (*RowFilter) GetColumnQualifierRegexFilter ¶
func (*RowFilter) GetColumnRangeFilter ¶
func (x *RowFilter) GetColumnRangeFilter() *ColumnRange
func (*RowFilter) GetCondition ¶
func (x *RowFilter) GetCondition() *RowFilter_Condition
func (*RowFilter) GetFamilyNameRegexFilter ¶
func (*RowFilter) GetInterleave ¶
func (x *RowFilter) GetInterleave() *RowFilter_Interleave
func (*RowFilter) GetPassAllFilter ¶
func (*RowFilter) GetRowKeyRegexFilter ¶
func (*RowFilter) GetRowSampleFilter ¶
func (*RowFilter) GetStripValueTransformer ¶
func (*RowFilter) GetTimestampRangeFilter ¶
func (x *RowFilter) GetTimestampRangeFilter() *TimestampRange
func (*RowFilter) GetValueRangeFilter ¶
func (x *RowFilter) GetValueRangeFilter() *ValueRange
func (*RowFilter) GetValueRegexFilter ¶
func (*RowFilter) ProtoMessage ¶
func (*RowFilter) ProtoMessage()
func (*RowFilter) ProtoReflect ¶
func (x *RowFilter) ProtoReflect() protoreflect.Message
type RowFilter_ApplyLabelTransformer ¶
type RowFilter_ApplyLabelTransformer struct { // Applies the given label to all cells in the output row. This allows // the client to determine which results were produced from which part of // the filter. // // Values must be at most 15 characters in length, and match the RE2 // pattern [a-z0-9\\-]+ // // Due to a technical limitation, it is not currently possible to apply // multiple labels to a cell. As a result, a Chain may have no more than // one sub-filter which contains a apply_label_transformer. It is okay for // an Interleave to contain multiple apply_label_transformers, as they will // be applied to separate copies of the input. This may be relaxed in the // future. ApplyLabelTransformer string `protobuf:"bytes,19,opt,name=apply_label_transformer,json=applyLabelTransformer,proto3,oneof"` }
type RowFilter_BlockAllFilter ¶
type RowFilter_BlockAllFilter struct { // Does not match any cells, regardless of input. Useful for temporarily // disabling just part of a filter. BlockAllFilter bool `protobuf:"varint,18,opt,name=block_all_filter,json=blockAllFilter,proto3,oneof"` }
type RowFilter_CellsPerColumnLimitFilter ¶
type RowFilter_CellsPerColumnLimitFilter struct { // Matches only the most recent N cells within each column. For example, // if N=2, this filter would match column "foo:bar" at timestamps 10 and 9, // skip all earlier cells in "foo:bar", and then begin matching again in // column "foo:bar2". // If duplicate cells are present, as is possible when using an Interleave, // each copy of the cell is counted separately. CellsPerColumnLimitFilter int32 `protobuf:"varint,12,opt,name=cells_per_column_limit_filter,json=cellsPerColumnLimitFilter,proto3,oneof"` }
type RowFilter_CellsPerRowLimitFilter ¶
type RowFilter_CellsPerRowLimitFilter struct { // Matches only the first N cells of each row. // If duplicate cells are present, as is possible when using an Interleave, // each copy of the cell is counted separately. CellsPerRowLimitFilter int32 `protobuf:"varint,11,opt,name=cells_per_row_limit_filter,json=cellsPerRowLimitFilter,proto3,oneof"` }
type RowFilter_CellsPerRowOffsetFilter ¶
type RowFilter_CellsPerRowOffsetFilter struct { // Skips the first N cells of each row, matching all subsequent cells. // If duplicate cells are present, as is possible when using an Interleave, // each copy of the cell is counted separately. CellsPerRowOffsetFilter int32 `protobuf:"varint,10,opt,name=cells_per_row_offset_filter,json=cellsPerRowOffsetFilter,proto3,oneof"` }
type RowFilter_Chain ¶
type RowFilter_Chain struct { // The elements of "filters" are chained together to process the input row: // in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row // The full chain is executed atomically. Filters []*RowFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
A RowFilter which sends rows through several RowFilters in sequence.
func (*RowFilter_Chain) Descriptor
deprecated
func (*RowFilter_Chain) Descriptor() ([]byte, []int)
Deprecated: Use RowFilter_Chain.ProtoReflect.Descriptor instead.
func (*RowFilter_Chain) GetFilters ¶
func (x *RowFilter_Chain) GetFilters() []*RowFilter
func (*RowFilter_Chain) ProtoMessage ¶
func (*RowFilter_Chain) ProtoMessage()
func (*RowFilter_Chain) ProtoReflect ¶
func (x *RowFilter_Chain) ProtoReflect() protoreflect.Message
func (*RowFilter_Chain) Reset ¶
func (x *RowFilter_Chain) Reset()
func (*RowFilter_Chain) String ¶
func (x *RowFilter_Chain) String() string
type RowFilter_Chain_ ¶
type RowFilter_Chain_ struct { // Applies several RowFilters to the data in sequence, progressively // narrowing the results. Chain *RowFilter_Chain `protobuf:"bytes,1,opt,name=chain,proto3,oneof"` }
type RowFilter_ColumnQualifierRegexFilter ¶
type RowFilter_ColumnQualifierRegexFilter struct { // Matches only cells from columns whose qualifiers satisfy the given RE2 // regex. // Note that, since column qualifiers can contain arbitrary bytes, the '\C' // escape sequence must be used if a true wildcard is desired. The '.' // character will not match the new line character '\n', which may be // present in a binary qualifier. ColumnQualifierRegexFilter []byte `protobuf:"bytes,6,opt,name=column_qualifier_regex_filter,json=columnQualifierRegexFilter,proto3,oneof"` }
type RowFilter_ColumnRangeFilter ¶
type RowFilter_ColumnRangeFilter struct { // Matches only cells from columns within the given range. ColumnRangeFilter *ColumnRange `protobuf:"bytes,7,opt,name=column_range_filter,json=columnRangeFilter,proto3,oneof"` }
type RowFilter_Condition ¶
type RowFilter_Condition struct { // If "predicate_filter" outputs any cells, then "true_filter" will be // evaluated on the input row. Otherwise, "false_filter" will be evaluated. PredicateFilter *RowFilter `protobuf:"bytes,1,opt,name=predicate_filter,json=predicateFilter,proto3" json:"predicate_filter,omitempty"` // 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. TrueFilter *RowFilter `protobuf:"bytes,2,opt,name=true_filter,json=trueFilter,proto3" json:"true_filter,omitempty"` // 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. FalseFilter *RowFilter `protobuf:"bytes,3,opt,name=false_filter,json=falseFilter,proto3" json:"false_filter,omitempty"` // contains filtered or unexported fields }
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.
func (*RowFilter_Condition) Descriptor
deprecated
func (*RowFilter_Condition) Descriptor() ([]byte, []int)
Deprecated: Use RowFilter_Condition.ProtoReflect.Descriptor instead.
func (*RowFilter_Condition) GetFalseFilter ¶
func (x *RowFilter_Condition) GetFalseFilter() *RowFilter
func (*RowFilter_Condition) GetPredicateFilter ¶
func (x *RowFilter_Condition) GetPredicateFilter() *RowFilter
func (*RowFilter_Condition) GetTrueFilter ¶
func (x *RowFilter_Condition) GetTrueFilter() *RowFilter
func (*RowFilter_Condition) ProtoMessage ¶
func (*RowFilter_Condition) ProtoMessage()
func (*RowFilter_Condition) ProtoReflect ¶
func (x *RowFilter_Condition) ProtoReflect() protoreflect.Message
func (*RowFilter_Condition) Reset ¶
func (x *RowFilter_Condition) Reset()
func (*RowFilter_Condition) String ¶
func (x *RowFilter_Condition) String() string
type RowFilter_Condition_ ¶
type RowFilter_Condition_ struct { // Applies one of two possible RowFilters to the data based on the output of // a predicate RowFilter. Condition *RowFilter_Condition `protobuf:"bytes,3,opt,name=condition,proto3,oneof"` }
type RowFilter_FamilyNameRegexFilter ¶
type RowFilter_FamilyNameRegexFilter struct { // Matches only cells from columns whose families satisfy the given RE2 // regex. For technical reasons, the regex must not contain the ':' // character, even if it is not being used as a literal. // Note that, since column families cannot contain the new line character // '\n', it is sufficient to use '.' as a full wildcard when matching // column family names. FamilyNameRegexFilter string `protobuf:"bytes,5,opt,name=family_name_regex_filter,json=familyNameRegexFilter,proto3,oneof"` }
type RowFilter_Interleave ¶
type RowFilter_Interleave struct { // The elements of "filters" all process a copy of the input row, and the // results are pooled, sorted, and combined into a single output row. // If multiple cells are produced with the same column and timestamp, // they will all appear in the output row in an unspecified mutual order. // Consider the following example, with three filters: // // input row // | // ----------------------------------------------------- // | | | // f(0) f(1) f(2) // | | | // 1: foo,bar,10,x foo,bar,10,z far,bar,7,a // 2: foo,blah,11,z far,blah,5,x far,blah,5,x // | | | // ----------------------------------------------------- // | // 1: foo,bar,10,z // could have switched with #2 // 2: foo,bar,10,x // could have switched with #1 // 3: foo,blah,11,z // 4: far,bar,7,a // 5: far,blah,5,x // identical to #6 // 6: far,blah,5,x // identical to #5 // All interleaved filters are executed atomically. Filters []*RowFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
A RowFilter which sends each row to each of several component RowFilters and interleaves the results.
func (*RowFilter_Interleave) Descriptor
deprecated
func (*RowFilter_Interleave) Descriptor() ([]byte, []int)
Deprecated: Use RowFilter_Interleave.ProtoReflect.Descriptor instead.
func (*RowFilter_Interleave) GetFilters ¶
func (x *RowFilter_Interleave) GetFilters() []*RowFilter
func (*RowFilter_Interleave) ProtoMessage ¶
func (*RowFilter_Interleave) ProtoMessage()
func (*RowFilter_Interleave) ProtoReflect ¶
func (x *RowFilter_Interleave) ProtoReflect() protoreflect.Message
func (*RowFilter_Interleave) Reset ¶
func (x *RowFilter_Interleave) Reset()
func (*RowFilter_Interleave) String ¶
func (x *RowFilter_Interleave) String() string
type RowFilter_Interleave_ ¶
type RowFilter_Interleave_ struct { // Applies several RowFilters to the data in parallel and combines the // results. Interleave *RowFilter_Interleave `protobuf:"bytes,2,opt,name=interleave,proto3,oneof"` }
type RowFilter_PassAllFilter ¶
type RowFilter_PassAllFilter struct { // Matches all cells, regardless of input. Functionally equivalent to // leaving `filter` unset, but included for completeness. PassAllFilter bool `protobuf:"varint,17,opt,name=pass_all_filter,json=passAllFilter,proto3,oneof"` }
type RowFilter_RowKeyRegexFilter ¶
type RowFilter_RowKeyRegexFilter struct { // Matches only cells from rows whose keys satisfy the given RE2 regex. In // other words, passes through the entire row when the key matches, and // otherwise produces an empty row. // Note that, since row keys can contain arbitrary bytes, the '\C' escape // sequence must be used if a true wildcard is desired. The '.' character // will not match the new line character '\n', which may be present in a // binary key. RowKeyRegexFilter []byte `protobuf:"bytes,4,opt,name=row_key_regex_filter,json=rowKeyRegexFilter,proto3,oneof"` }
type RowFilter_RowSampleFilter ¶
type RowFilter_RowSampleFilter struct { // Matches all cells from a row with probability p, and matches no cells // from the row with probability 1-p. RowSampleFilter float64 `protobuf:"fixed64,14,opt,name=row_sample_filter,json=rowSampleFilter,proto3,oneof"` }
type RowFilter_Sink ¶
type RowFilter_Sink struct { // ADVANCED USE ONLY. // Hook for introspection into the RowFilter. Outputs all cells directly to // the output of the read rather than to any parent filter. Consider the // following example: // // Chain( // FamilyRegex("A"), // Interleave( // All(), // Chain(Label("foo"), Sink()) // ), // QualifierRegex("B") // ) // // A,A,1,w // A,B,2,x // B,B,4,z // | // FamilyRegex("A") // | // A,A,1,w // A,B,2,x // | // +------------+-------------+ // | | // All() Label(foo) // | | // A,A,1,w A,A,1,w,labels:[foo] // A,B,2,x A,B,2,x,labels:[foo] // | | // | Sink() --------------+ // | | | // +------------+ x------+ A,A,1,w,labels:[foo] // | A,B,2,x,labels:[foo] // A,A,1,w | // A,B,2,x | // | | // QualifierRegex("B") | // | | // A,B,2,x | // | | // +--------------------------------+ // | // A,A,1,w,labels:[foo] // A,B,2,x,labels:[foo] // could be switched // A,B,2,x // could be switched // // Despite being excluded by the qualifier filter, a copy of every cell // that reaches the sink is present in the final result. // // As with an [Interleave][google.bigtable.v1.RowFilter.Interleave], // duplicate cells are possible, and appear in an unspecified mutual order. // In this case we have a duplicate with column "A:B" and timestamp 2, // because one copy passed through the all filter while the other was // passed through the label and sink. Note that one copy has label "foo", // while the other does not. // // Cannot be used within the `predicate_filter`, `true_filter`, or // `false_filter` of a [Condition][google.bigtable.v1.RowFilter.Condition]. Sink bool `protobuf:"varint,16,opt,name=sink,proto3,oneof"` }
type RowFilter_StripValueTransformer ¶
type RowFilter_StripValueTransformer struct { // Replaces each cell's value with the empty string. StripValueTransformer bool `protobuf:"varint,13,opt,name=strip_value_transformer,json=stripValueTransformer,proto3,oneof"` }
type RowFilter_TimestampRangeFilter ¶
type RowFilter_TimestampRangeFilter struct { // Matches only cells with timestamps within the given range. TimestampRangeFilter *TimestampRange `protobuf:"bytes,8,opt,name=timestamp_range_filter,json=timestampRangeFilter,proto3,oneof"` }
type RowFilter_ValueRangeFilter ¶
type RowFilter_ValueRangeFilter struct { // Matches only cells with values that fall within the given range. ValueRangeFilter *ValueRange `protobuf:"bytes,15,opt,name=value_range_filter,json=valueRangeFilter,proto3,oneof"` }
type RowFilter_ValueRegexFilter ¶
type RowFilter_ValueRegexFilter struct { // Matches only cells with values that satisfy the given regular expression. // Note that, since cell values can contain arbitrary bytes, the '\C' escape // sequence must be used if a true wildcard is desired. The '.' character // will not match the new line character '\n', which may be present in a // binary value. ValueRegexFilter []byte `protobuf:"bytes,9,opt,name=value_regex_filter,json=valueRegexFilter,proto3,oneof"` }
type RowRange ¶
type RowRange struct { // Inclusive lower bound. If left empty, interpreted as the empty string. StartKey []byte `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` // Exclusive upper bound. If left empty, interpreted as infinity. EndKey []byte `protobuf:"bytes,3,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` // contains filtered or unexported fields }
Specifies a contiguous range of rows.
func (*RowRange) Descriptor
deprecated
func (*RowRange) GetStartKey ¶
func (*RowRange) ProtoMessage ¶
func (*RowRange) ProtoMessage()
func (*RowRange) ProtoReflect ¶
func (x *RowRange) ProtoReflect() protoreflect.Message
type RowSet ¶
type RowSet struct { // Single rows included in the set. RowKeys [][]byte `protobuf:"bytes,1,rep,name=row_keys,json=rowKeys,proto3" json:"row_keys,omitempty"` // Contiguous row ranges included in the set. RowRanges []*RowRange `protobuf:"bytes,2,rep,name=row_ranges,json=rowRanges,proto3" json:"row_ranges,omitempty"` // contains filtered or unexported fields }
Specifies a non-contiguous set of rows.
func (*RowSet) Descriptor
deprecated
func (*RowSet) GetRowKeys ¶
func (*RowSet) GetRowRanges ¶
func (*RowSet) ProtoMessage ¶
func (*RowSet) ProtoMessage()
func (*RowSet) ProtoReflect ¶
func (x *RowSet) ProtoReflect() protoreflect.Message
type SampleRowKeysRequest ¶
type SampleRowKeysRequest struct { // The unique name of the table from which to sample row keys. TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // contains filtered or unexported fields }
Request message for BigtableService.SampleRowKeys.
func (*SampleRowKeysRequest) Descriptor
deprecated
func (*SampleRowKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use SampleRowKeysRequest.ProtoReflect.Descriptor instead.
func (*SampleRowKeysRequest) GetTableName ¶
func (x *SampleRowKeysRequest) GetTableName() string
func (*SampleRowKeysRequest) ProtoMessage ¶
func (*SampleRowKeysRequest) ProtoMessage()
func (*SampleRowKeysRequest) ProtoReflect ¶
func (x *SampleRowKeysRequest) ProtoReflect() protoreflect.Message
func (*SampleRowKeysRequest) Reset ¶
func (x *SampleRowKeysRequest) Reset()
func (*SampleRowKeysRequest) String ¶
func (x *SampleRowKeysRequest) String() string
type SampleRowKeysResponse ¶
type SampleRowKeysResponse struct { // Sorted streamed sequence of sample row keys in the table. The table might // have contents before the first row key in the list and after the last one, // but a key containing the empty string indicates "end of table" and will be // the last response given, if present. // Note that row keys in this list may not have ever been written to or read // from, and users should therefore not make any assumptions about the row key // structure that are specific to their use case. RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` // Approximate total storage space used by all rows in the table which precede // "row_key". Buffering the contents of all rows between two subsequent // samples would require space roughly equal to the difference in their // "offset_bytes" fields. OffsetBytes int64 `protobuf:"varint,2,opt,name=offset_bytes,json=offsetBytes,proto3" json:"offset_bytes,omitempty"` // contains filtered or unexported fields }
Response message for BigtableService.SampleRowKeys.
func (*SampleRowKeysResponse) Descriptor
deprecated
func (*SampleRowKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use SampleRowKeysResponse.ProtoReflect.Descriptor instead.
func (*SampleRowKeysResponse) GetOffsetBytes ¶
func (x *SampleRowKeysResponse) GetOffsetBytes() int64
func (*SampleRowKeysResponse) GetRowKey ¶
func (x *SampleRowKeysResponse) GetRowKey() []byte
func (*SampleRowKeysResponse) ProtoMessage ¶
func (*SampleRowKeysResponse) ProtoMessage()
func (*SampleRowKeysResponse) ProtoReflect ¶
func (x *SampleRowKeysResponse) ProtoReflect() protoreflect.Message
func (*SampleRowKeysResponse) Reset ¶
func (x *SampleRowKeysResponse) Reset()
func (*SampleRowKeysResponse) String ¶
func (x *SampleRowKeysResponse) String() string
type TimestampRange ¶
type TimestampRange struct { // Inclusive lower bound. If left empty, interpreted as 0. StartTimestampMicros int64 `protobuf:"varint,1,opt,name=start_timestamp_micros,json=startTimestampMicros,proto3" json:"start_timestamp_micros,omitempty"` // Exclusive upper bound. If left empty, interpreted as infinity. EndTimestampMicros int64 `protobuf:"varint,2,opt,name=end_timestamp_micros,json=endTimestampMicros,proto3" json:"end_timestamp_micros,omitempty"` // contains filtered or unexported fields }
Specified a contiguous range of microsecond timestamps.
func (*TimestampRange) Descriptor
deprecated
func (*TimestampRange) Descriptor() ([]byte, []int)
Deprecated: Use TimestampRange.ProtoReflect.Descriptor instead.
func (*TimestampRange) GetEndTimestampMicros ¶
func (x *TimestampRange) GetEndTimestampMicros() int64
func (*TimestampRange) GetStartTimestampMicros ¶
func (x *TimestampRange) GetStartTimestampMicros() int64
func (*TimestampRange) ProtoMessage ¶
func (*TimestampRange) ProtoMessage()
func (*TimestampRange) ProtoReflect ¶
func (x *TimestampRange) ProtoReflect() protoreflect.Message
func (*TimestampRange) Reset ¶
func (x *TimestampRange) Reset()
func (*TimestampRange) String ¶
func (x *TimestampRange) String() string
type UnimplementedBigtableServiceServer ¶
type UnimplementedBigtableServiceServer struct { }
UnimplementedBigtableServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedBigtableServiceServer) CheckAndMutateRow ¶
func (*UnimplementedBigtableServiceServer) CheckAndMutateRow(context.Context, *CheckAndMutateRowRequest) (*CheckAndMutateRowResponse, error)
func (*UnimplementedBigtableServiceServer) MutateRow ¶
func (*UnimplementedBigtableServiceServer) MutateRow(context.Context, *MutateRowRequest) (*emptypb.Empty, error)
func (*UnimplementedBigtableServiceServer) MutateRows ¶
func (*UnimplementedBigtableServiceServer) MutateRows(context.Context, *MutateRowsRequest) (*MutateRowsResponse, error)
func (*UnimplementedBigtableServiceServer) ReadModifyWriteRow ¶
func (*UnimplementedBigtableServiceServer) ReadModifyWriteRow(context.Context, *ReadModifyWriteRowRequest) (*Row, error)
func (*UnimplementedBigtableServiceServer) ReadRows ¶
func (*UnimplementedBigtableServiceServer) ReadRows(*ReadRowsRequest, BigtableService_ReadRowsServer) error
func (*UnimplementedBigtableServiceServer) SampleRowKeys ¶
func (*UnimplementedBigtableServiceServer) SampleRowKeys(*SampleRowKeysRequest, BigtableService_SampleRowKeysServer) error
type ValueRange ¶
type ValueRange struct { // The value at which to start the range. // If neither field is set, interpreted as the empty string, inclusive. // // Types that are assignable to StartValue: // *ValueRange_StartValueInclusive // *ValueRange_StartValueExclusive StartValue isValueRange_StartValue `protobuf_oneof:"start_value"` // The value at which to end the range. // If neither field is set, interpreted as the infinite string, exclusive. // // Types that are assignable to EndValue: // *ValueRange_EndValueInclusive // *ValueRange_EndValueExclusive EndValue isValueRange_EndValue `protobuf_oneof:"end_value"` // contains filtered or unexported fields }
Specifies a contiguous range of raw byte values.
func (*ValueRange) Descriptor
deprecated
func (*ValueRange) Descriptor() ([]byte, []int)
Deprecated: Use ValueRange.ProtoReflect.Descriptor instead.
func (*ValueRange) GetEndValue ¶
func (m *ValueRange) GetEndValue() isValueRange_EndValue
func (*ValueRange) GetEndValueExclusive ¶
func (x *ValueRange) GetEndValueExclusive() []byte
func (*ValueRange) GetEndValueInclusive ¶
func (x *ValueRange) GetEndValueInclusive() []byte
func (*ValueRange) GetStartValue ¶
func (m *ValueRange) GetStartValue() isValueRange_StartValue
func (*ValueRange) GetStartValueExclusive ¶
func (x *ValueRange) GetStartValueExclusive() []byte
func (*ValueRange) GetStartValueInclusive ¶
func (x *ValueRange) GetStartValueInclusive() []byte
func (*ValueRange) ProtoMessage ¶
func (*ValueRange) ProtoMessage()
func (*ValueRange) ProtoReflect ¶
func (x *ValueRange) ProtoReflect() protoreflect.Message
func (*ValueRange) Reset ¶
func (x *ValueRange) Reset()
func (*ValueRange) String ¶
func (x *ValueRange) String() string
type ValueRange_EndValueExclusive ¶
type ValueRange_EndValueExclusive struct { // Used when giving an exclusive upper bound for the range. EndValueExclusive []byte `protobuf:"bytes,4,opt,name=end_value_exclusive,json=endValueExclusive,proto3,oneof"` }
type ValueRange_EndValueInclusive ¶
type ValueRange_EndValueInclusive struct { // Used when giving an inclusive upper bound for the range. EndValueInclusive []byte `protobuf:"bytes,3,opt,name=end_value_inclusive,json=endValueInclusive,proto3,oneof"` }
type ValueRange_StartValueExclusive ¶
type ValueRange_StartValueExclusive struct { // Used when giving an exclusive lower bound for the range. StartValueExclusive []byte `protobuf:"bytes,2,opt,name=start_value_exclusive,json=startValueExclusive,proto3,oneof"` }
type ValueRange_StartValueInclusive ¶
type ValueRange_StartValueInclusive struct { // Used when giving an inclusive lower bound for the range. StartValueInclusive []byte `protobuf:"bytes,1,opt,name=start_value_inclusive,json=startValueInclusive,proto3,oneof"` }