storagepb

package module
v0.0.0-...-cbee766 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NullValue_name = map[int32]string{
		0: "NULL_VALUE_UNSPECIFIED",
		1: "NULL_VALUE_NULL",
	}
	NullValue_value = map[string]int32{
		"NULL_VALUE_UNSPECIFIED": 0,
		"NULL_VALUE_NULL":        1,
	}
)

Enum value maps for NullValue.

View Source
var File_storage_events_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CollectorKlineBackfilled

type CollectorKlineBackfilled struct {
	DatasetId  string   `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	Frequency  string   `protobuf:"bytes,2,opt,name=frequency,proto3" json:"frequency,omitempty"`
	SubjectIds []string `protobuf:"bytes,3,rep,name=subject_ids,json=subjectIds,proto3" json:"subject_ids,omitempty"`
	// start is inclusive and end is exclusive.
	Start  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty"`
	End    *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty"`
	Origin string                 `protobuf:"bytes,6,opt,name=origin,proto3" json:"origin,omitempty"`
	JobId  string                 `protobuf:"bytes,7,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// sync_request_id names the Dataset sync point appended before this event.
	SyncRequestId string                 `protobuf:"bytes,8,opt,name=sync_request_id,json=syncRequestId,proto3" json:"sync_request_id,omitempty"`
	ConfirmedAt   *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=confirmed_at,json=confirmedAt,proto3" json:"confirmed_at,omitempty"`
	// series_tags 是补采写入的序列(series_tag);统一数据集的消费方只重算这些序列,空表示数据集的全部序列。
	SeriesTags []string `protobuf:"bytes,10,rep,name=series_tags,json=seriesTags,proto3" json:"series_tags,omitempty"`
	// contains filtered or unexported fields
}

CollectorKlineBackfilled announces, without row data, that K-line rows of a Dataset were written after their period had already ended: a backfill chunk was verified (origin auto, manual or force), or a resample wrote rows outside period tracking (origin resample). Consumers re-derive what depends on [start, end) for subject_ids. Consumers that read a View wait for sync_request_id first, because the View indexes rows asynchronously.

func (*CollectorKlineBackfilled) Descriptor deprecated

func (*CollectorKlineBackfilled) Descriptor() ([]byte, []int)

Deprecated: Use CollectorKlineBackfilled.ProtoReflect.Descriptor instead.

func (*CollectorKlineBackfilled) GetConfirmedAt

func (x *CollectorKlineBackfilled) GetConfirmedAt() *timestamppb.Timestamp

func (*CollectorKlineBackfilled) GetDatasetId

func (x *CollectorKlineBackfilled) GetDatasetId() string

func (*CollectorKlineBackfilled) GetEnd

func (*CollectorKlineBackfilled) GetFrequency

func (x *CollectorKlineBackfilled) GetFrequency() string

func (*CollectorKlineBackfilled) GetJobId

func (x *CollectorKlineBackfilled) GetJobId() string

func (*CollectorKlineBackfilled) GetOrigin

func (x *CollectorKlineBackfilled) GetOrigin() string

func (*CollectorKlineBackfilled) GetSeriesTags

func (x *CollectorKlineBackfilled) GetSeriesTags() []string

func (*CollectorKlineBackfilled) GetStart

func (*CollectorKlineBackfilled) GetSubjectIds

func (x *CollectorKlineBackfilled) GetSubjectIds() []string

func (*CollectorKlineBackfilled) GetSyncRequestId

func (x *CollectorKlineBackfilled) GetSyncRequestId() string

func (*CollectorKlineBackfilled) ProtoMessage

func (*CollectorKlineBackfilled) ProtoMessage()

func (*CollectorKlineBackfilled) ProtoReflect

func (x *CollectorKlineBackfilled) ProtoReflect() protoreflect.Message

func (*CollectorKlineBackfilled) Reset

func (x *CollectorKlineBackfilled) Reset()

func (*CollectorKlineBackfilled) String

func (x *CollectorKlineBackfilled) String() string

type CommittedPosition

type CommittedPosition struct {
	NodeId   string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	StoreId  string `protobuf:"bytes,2,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"`
	Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// contains filtered or unexported fields
}

CommittedPosition identifies one ordered write domain. Sequence is comparable only within (node_id, store_id).

func (*CommittedPosition) Descriptor deprecated

func (*CommittedPosition) Descriptor() ([]byte, []int)

Deprecated: Use CommittedPosition.ProtoReflect.Descriptor instead.

func (*CommittedPosition) GetNodeId

func (x *CommittedPosition) GetNodeId() string

func (*CommittedPosition) GetSequence

func (x *CommittedPosition) GetSequence() uint64

func (*CommittedPosition) GetStoreId

func (x *CommittedPosition) GetStoreId() string

func (*CommittedPosition) ProtoMessage

func (*CommittedPosition) ProtoMessage()

func (*CommittedPosition) ProtoReflect

func (x *CommittedPosition) ProtoReflect() protoreflect.Message

func (*CommittedPosition) Reset

func (x *CommittedPosition) Reset()

func (*CommittedPosition) String

func (x *CommittedPosition) String() string

type DatasetPeriodCompleted

type DatasetPeriodCompleted struct {
	DatasetId          string   `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	Frequency          string   `protobuf:"bytes,2,opt,name=frequency,proto3" json:"frequency,omitempty"`
	PeriodTime         int64    `protobuf:"varint,3,opt,name=period_time,json=periodTime,proto3" json:"period_time,omitempty"`
	Status             string   `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` // complete | degraded
	Source             string   `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"` // ledger | producer
	UniverseSubjectIds []string `protobuf:"bytes,6,rep,name=universe_subject_ids,json=universeSubjectIds,proto3" json:"universe_subject_ids,omitempty"`
	FailedSubjects     []string `protobuf:"bytes,7,rep,name=failed_subjects,json=failedSubjects,proto3" json:"failed_subjects,omitempty"`
	// committed_positions 是本期写入在 outbox 中的位置,View 用来确认数据已进入索引。
	CommittedPositions []*CommittedPosition `protobuf:"bytes,8,rep,name=committed_positions,json=committedPositions,proto3" json:"committed_positions,omitempty"`
	// snapshot_ref:ledger 来源时是序列快照引用。
	SnapshotRef string `protobuf:"bytes,9,opt,name=snapshot_ref,json=snapshotRef,proto3" json:"snapshot_ref,omitempty"`
	// cause_event_id:producer 来源时是触发本次计算的事件 ID,用于幂等查询。
	CauseEventId string                 `protobuf:"bytes,10,opt,name=cause_event_id,json=causeEventId,proto3" json:"cause_event_id,omitempty"`
	CompletedAt  *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	// detail_type、detail 是写入方自定义的明细(不透明字节),Storage 原样保存并透传,不解析。
	DetailType string `protobuf:"bytes,12,opt,name=detail_type,json=detailType,proto3" json:"detail_type,omitempty"`
	Detail     []byte `protobuf:"bytes,13,opt,name=detail,proto3" json:"detail,omitempty"`
	// universe_series、failed_series 是按序列(标的、series_tag)的期望全集与失败名单:只有同一数据集含多个 series_tag
	// (统一数据集)时才填;单序列数据集为空,消费方按 universe_subject_ids、failed_subjects 处理。
	// 失败名单是全集的子集;原有的按标的字段口径不变(标的的任一序列失败,该标的记入 failed_subjects)。
	UniverseSeries []*SeriesRef `protobuf:"bytes,14,rep,name=universe_series,json=universeSeries,proto3" json:"universe_series,omitempty"`
	FailedSeries   []*SeriesRef `protobuf:"bytes,15,rep,name=failed_series,json=failedSeries,proto3" json:"failed_series,omitempty"`
	// contains filtered or unexported fields
}

DatasetPeriodCompleted 表示数据集的某一期已经完成。source 只描述“这一期是怎么判定完成的”,不是业务分类:

  • ledger:DataNode 按登记的序列快照与截止时间判定(采集、重采样走序列账本);
  • producer:写入方自己报告(例如因子)。

complete 表示每个标的都成功;degraded 保留完整标的清单并记录失败。

func (*DatasetPeriodCompleted) Descriptor deprecated

func (*DatasetPeriodCompleted) Descriptor() ([]byte, []int)

Deprecated: Use DatasetPeriodCompleted.ProtoReflect.Descriptor instead.

func (*DatasetPeriodCompleted) GetCauseEventId

func (x *DatasetPeriodCompleted) GetCauseEventId() string

func (*DatasetPeriodCompleted) GetCommittedPositions

func (x *DatasetPeriodCompleted) GetCommittedPositions() []*CommittedPosition

func (*DatasetPeriodCompleted) GetCompletedAt

func (x *DatasetPeriodCompleted) GetCompletedAt() *timestamppb.Timestamp

func (*DatasetPeriodCompleted) GetDatasetId

func (x *DatasetPeriodCompleted) GetDatasetId() string

func (*DatasetPeriodCompleted) GetDetail

func (x *DatasetPeriodCompleted) GetDetail() []byte

func (*DatasetPeriodCompleted) GetDetailType

func (x *DatasetPeriodCompleted) GetDetailType() string

func (*DatasetPeriodCompleted) GetFailedSeries

func (x *DatasetPeriodCompleted) GetFailedSeries() []*SeriesRef

func (*DatasetPeriodCompleted) GetFailedSubjects

func (x *DatasetPeriodCompleted) GetFailedSubjects() []string

func (*DatasetPeriodCompleted) GetFrequency

func (x *DatasetPeriodCompleted) GetFrequency() string

func (*DatasetPeriodCompleted) GetPeriodTime

func (x *DatasetPeriodCompleted) GetPeriodTime() int64

func (*DatasetPeriodCompleted) GetSnapshotRef

func (x *DatasetPeriodCompleted) GetSnapshotRef() string

func (*DatasetPeriodCompleted) GetSource

func (x *DatasetPeriodCompleted) GetSource() string

func (*DatasetPeriodCompleted) GetStatus

func (x *DatasetPeriodCompleted) GetStatus() string

func (*DatasetPeriodCompleted) GetUniverseSeries

func (x *DatasetPeriodCompleted) GetUniverseSeries() []*SeriesRef

func (*DatasetPeriodCompleted) GetUniverseSubjectIds

func (x *DatasetPeriodCompleted) GetUniverseSubjectIds() []string

func (*DatasetPeriodCompleted) ProtoMessage

func (*DatasetPeriodCompleted) ProtoMessage()

func (*DatasetPeriodCompleted) ProtoReflect

func (x *DatasetPeriodCompleted) ProtoReflect() protoreflect.Message

func (*DatasetPeriodCompleted) Reset

func (x *DatasetPeriodCompleted) Reset()

func (*DatasetPeriodCompleted) String

func (x *DatasetPeriodCompleted) String() string

type DatasetRowsUpserted

type DatasetRowsUpserted struct {
	SpaceId   string       `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	DatasetId string       `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	Rows      []*RowUpsert `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"`
	// Position assigned in the same durable DataNode outbox batch as the rows.
	// Sequence is comparable only within (node_id, store_id).
	NodeId   string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Sequence uint64 `protobuf:"varint,6,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// Changes when the underlying DataNode store is recreated.
	StoreId string `protobuf:"bytes,7,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"`
	// contains filtered or unexported fields
}

DatasetRowsUpserted is the public delta event for a Dataset. rows contains changed rows and changed fields, not a complete Dataset snapshot.

func (*DatasetRowsUpserted) Descriptor deprecated

func (*DatasetRowsUpserted) Descriptor() ([]byte, []int)

Deprecated: Use DatasetRowsUpserted.ProtoReflect.Descriptor instead.

func (*DatasetRowsUpserted) GetDatasetId

func (x *DatasetRowsUpserted) GetDatasetId() string

func (*DatasetRowsUpserted) GetNodeId

func (x *DatasetRowsUpserted) GetNodeId() string

func (*DatasetRowsUpserted) GetRows

func (x *DatasetRowsUpserted) GetRows() []*RowUpsert

func (*DatasetRowsUpserted) GetSequence

func (x *DatasetRowsUpserted) GetSequence() uint64

func (*DatasetRowsUpserted) GetSpaceId

func (x *DatasetRowsUpserted) GetSpaceId() string

func (*DatasetRowsUpserted) GetStoreId

func (x *DatasetRowsUpserted) GetStoreId() string

func (*DatasetRowsUpserted) ProtoMessage

func (*DatasetRowsUpserted) ProtoMessage()

func (*DatasetRowsUpserted) ProtoReflect

func (x *DatasetRowsUpserted) ProtoReflect() protoreflect.Message

func (*DatasetRowsUpserted) Reset

func (x *DatasetRowsUpserted) Reset()

func (*DatasetRowsUpserted) String

func (x *DatasetRowsUpserted) String() string

type DatasetSyncPoint

type DatasetSyncPoint struct {
	SyncPointId string `protobuf:"bytes,1,opt,name=sync_point_id,json=syncPointId,proto3" json:"sync_point_id,omitempty"`
	RequestId   string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	DatasetId   string `protobuf:"bytes,3,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	Source      string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

DatasetSyncPoint is an ordered import/catchup fence in a Dataset outbox.

func (*DatasetSyncPoint) Descriptor deprecated

func (*DatasetSyncPoint) Descriptor() ([]byte, []int)

Deprecated: Use DatasetSyncPoint.ProtoReflect.Descriptor instead.

func (*DatasetSyncPoint) GetDatasetId

func (x *DatasetSyncPoint) GetDatasetId() string

func (*DatasetSyncPoint) GetRequestId

func (x *DatasetSyncPoint) GetRequestId() string

func (*DatasetSyncPoint) GetSource

func (x *DatasetSyncPoint) GetSource() string

func (*DatasetSyncPoint) GetSyncPointId

func (x *DatasetSyncPoint) GetSyncPointId() string

func (*DatasetSyncPoint) ProtoMessage

func (*DatasetSyncPoint) ProtoMessage()

func (*DatasetSyncPoint) ProtoReflect

func (x *DatasetSyncPoint) ProtoReflect() protoreflect.Message

func (*DatasetSyncPoint) Reset

func (x *DatasetSyncPoint) Reset()

func (*DatasetSyncPoint) String

func (x *DatasetSyncPoint) String() string

type FieldValue

type FieldValue struct {
	FieldId string      `protobuf:"bytes,1,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"`
	Value   *TypedValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldValue) Descriptor deprecated

func (*FieldValue) Descriptor() ([]byte, []int)

Deprecated: Use FieldValue.ProtoReflect.Descriptor instead.

func (*FieldValue) GetFieldId

func (x *FieldValue) GetFieldId() string

func (*FieldValue) GetValue

func (x *FieldValue) GetValue() *TypedValue

func (*FieldValue) ProtoMessage

func (*FieldValue) ProtoMessage()

func (*FieldValue) ProtoReflect

func (x *FieldValue) ProtoReflect() protoreflect.Message

func (*FieldValue) Reset

func (x *FieldValue) Reset()

func (*FieldValue) String

func (x *FieldValue) String() string

type InstrumentDelistScheduled

type InstrumentDelistScheduled struct {
	Exchange       string                 `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
	Market         string                 `protobuf:"bytes,2,opt,name=market,proto3" json:"market,omitempty"`
	ExchangeSymbol string                 `protobuf:"bytes,3,opt,name=exchange_symbol,json=exchangeSymbol,proto3" json:"exchange_symbol,omitempty"`
	DelistAt       *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=delist_at,json=delistAt,proto3" json:"delist_at,omitempty"`
	Source         string                 `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
	FirstSeenAt    *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=first_seen_at,json=firstSeenAt,proto3" json:"first_seen_at,omitempty"`
	Scope          string                 `protobuf:"bytes,7,opt,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

InstrumentDelistScheduled 宣告一个标的即将下架,由 Collector 的下架检测发布,只带元数据。 exchange 为小写交易所代码(binance、okx),market 为 SPOT 或 SWAP; source 取 BINANCE_SPOT_SCHEDULE、BINANCE_SWAP_EXCHANGE_INFO、OKX_SWAP_INSTRUMENTS、MANUAL; scope 取 ALL 或 PAPER_ONLY(后者只用于演练,只处理模拟盘组合)。

func (*InstrumentDelistScheduled) Descriptor deprecated

func (*InstrumentDelistScheduled) Descriptor() ([]byte, []int)

Deprecated: Use InstrumentDelistScheduled.ProtoReflect.Descriptor instead.

func (*InstrumentDelistScheduled) GetDelistAt

func (*InstrumentDelistScheduled) GetExchange

func (x *InstrumentDelistScheduled) GetExchange() string

func (*InstrumentDelistScheduled) GetExchangeSymbol

func (x *InstrumentDelistScheduled) GetExchangeSymbol() string

func (*InstrumentDelistScheduled) GetFirstSeenAt

func (x *InstrumentDelistScheduled) GetFirstSeenAt() *timestamppb.Timestamp

func (*InstrumentDelistScheduled) GetMarket

func (x *InstrumentDelistScheduled) GetMarket() string

func (*InstrumentDelistScheduled) GetScope

func (x *InstrumentDelistScheduled) GetScope() string

func (*InstrumentDelistScheduled) GetSource

func (x *InstrumentDelistScheduled) GetSource() string

func (*InstrumentDelistScheduled) ProtoMessage

func (*InstrumentDelistScheduled) ProtoMessage()

func (*InstrumentDelistScheduled) ProtoReflect

func (*InstrumentDelistScheduled) Reset

func (x *InstrumentDelistScheduled) Reset()

func (*InstrumentDelistScheduled) String

func (x *InstrumentDelistScheduled) String() string

type NullValue

type NullValue int32
const (
	NullValue_NULL_VALUE_UNSPECIFIED NullValue = 0
	NullValue_NULL_VALUE_NULL        NullValue = 1
)

func (NullValue) Descriptor

func (NullValue) Descriptor() protoreflect.EnumDescriptor

func (NullValue) Enum

func (x NullValue) Enum() *NullValue

func (NullValue) EnumDescriptor deprecated

func (NullValue) EnumDescriptor() ([]byte, []int)

Deprecated: Use NullValue.Descriptor instead.

func (NullValue) Number

func (x NullValue) Number() protoreflect.EnumNumber

func (NullValue) String

func (x NullValue) String() string

func (NullValue) Type

type RecordRowKey

type RecordRowKey struct {
	RecordId string `protobuf:"bytes,1,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"`
	Version  string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordRowKey) Descriptor deprecated

func (*RecordRowKey) Descriptor() ([]byte, []int)

Deprecated: Use RecordRowKey.ProtoReflect.Descriptor instead.

func (*RecordRowKey) GetRecordId

func (x *RecordRowKey) GetRecordId() string

func (*RecordRowKey) GetVersion

func (x *RecordRowKey) GetVersion() string

func (*RecordRowKey) ProtoMessage

func (*RecordRowKey) ProtoMessage()

func (*RecordRowKey) ProtoReflect

func (x *RecordRowKey) ProtoReflect() protoreflect.Message

func (*RecordRowKey) Reset

func (x *RecordRowKey) Reset()

func (*RecordRowKey) String

func (x *RecordRowKey) String() string

type RowKey

type RowKey struct {
	SpaceId   string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	// Types that are assignable to Kind:
	//
	//	*RowKey_TimeSeries
	//	*RowKey_Record
	Kind isRowKey_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*RowKey) Descriptor deprecated

func (*RowKey) Descriptor() ([]byte, []int)

Deprecated: Use RowKey.ProtoReflect.Descriptor instead.

func (*RowKey) GetDatasetId

func (x *RowKey) GetDatasetId() string

func (*RowKey) GetKind

func (m *RowKey) GetKind() isRowKey_Kind

func (*RowKey) GetRecord

func (x *RowKey) GetRecord() *RecordRowKey

func (*RowKey) GetSpaceId

func (x *RowKey) GetSpaceId() string

func (*RowKey) GetTimeSeries

func (x *RowKey) GetTimeSeries() *TimeSeriesRowKey

func (*RowKey) ProtoMessage

func (*RowKey) ProtoMessage()

func (*RowKey) ProtoReflect

func (x *RowKey) ProtoReflect() protoreflect.Message

func (*RowKey) Reset

func (x *RowKey) Reset()

func (*RowKey) String

func (x *RowKey) String() string

type RowKey_Record

type RowKey_Record struct {
	Record *RecordRowKey `protobuf:"bytes,4,opt,name=record,proto3,oneof"`
}

type RowKey_TimeSeries

type RowKey_TimeSeries struct {
	TimeSeries *TimeSeriesRowKey `protobuf:"bytes,3,opt,name=time_series,json=timeSeries,proto3,oneof"`
}

type RowUpsert

type RowUpsert struct {
	Key        *RowKey                `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Fields     []*FieldValue          `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	Attributes map[string]*TypedValue `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RowUpsert) Descriptor deprecated

func (*RowUpsert) Descriptor() ([]byte, []int)

Deprecated: Use RowUpsert.ProtoReflect.Descriptor instead.

func (*RowUpsert) GetAttributes

func (x *RowUpsert) GetAttributes() map[string]*TypedValue

func (*RowUpsert) GetFields

func (x *RowUpsert) GetFields() []*FieldValue

func (*RowUpsert) GetKey

func (x *RowUpsert) GetKey() *RowKey

func (*RowUpsert) ProtoMessage

func (*RowUpsert) ProtoMessage()

func (*RowUpsert) ProtoReflect

func (x *RowUpsert) ProtoReflect() protoreflect.Message

func (*RowUpsert) Reset

func (x *RowUpsert) Reset()

func (*RowUpsert) String

func (x *RowUpsert) String() string

type SeriesRef

type SeriesRef struct {
	SubjectId string `protobuf:"bytes,1,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	SeriesTag string `protobuf:"bytes,2,opt,name=series_tag,json=seriesTag,proto3" json:"series_tag,omitempty"`
	// contains filtered or unexported fields
}

SeriesRef 是一条时间序列的身份:标的加 series_tag,与行键一致。

func (*SeriesRef) Descriptor deprecated

func (*SeriesRef) Descriptor() ([]byte, []int)

Deprecated: Use SeriesRef.ProtoReflect.Descriptor instead.

func (*SeriesRef) GetSeriesTag

func (x *SeriesRef) GetSeriesTag() string

func (*SeriesRef) GetSubjectId

func (x *SeriesRef) GetSubjectId() string

func (*SeriesRef) ProtoMessage

func (*SeriesRef) ProtoMessage()

func (*SeriesRef) ProtoReflect

func (x *SeriesRef) ProtoReflect() protoreflect.Message

func (*SeriesRef) Reset

func (x *SeriesRef) Reset()

func (*SeriesRef) String

func (x *SeriesRef) String() string

type TimeSeriesRowKey

type TimeSeriesRowKey struct {
	SubjectId string `protobuf:"bytes,1,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	Freq      string `protobuf:"bytes,2,opt,name=freq,proto3" json:"freq,omitempty"`
	DataTime  string `protobuf:"bytes,3,opt,name=data_time,json=dataTime,proto3" json:"data_time,omitempty"`
	SeriesTag string `protobuf:"bytes,4,opt,name=series_tag,json=seriesTag,proto3" json:"series_tag,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeSeriesRowKey) Descriptor deprecated

func (*TimeSeriesRowKey) Descriptor() ([]byte, []int)

Deprecated: Use TimeSeriesRowKey.ProtoReflect.Descriptor instead.

func (*TimeSeriesRowKey) GetDataTime

func (x *TimeSeriesRowKey) GetDataTime() string

func (*TimeSeriesRowKey) GetFreq

func (x *TimeSeriesRowKey) GetFreq() string

func (*TimeSeriesRowKey) GetSeriesTag

func (x *TimeSeriesRowKey) GetSeriesTag() string

func (*TimeSeriesRowKey) GetSubjectId

func (x *TimeSeriesRowKey) GetSubjectId() string

func (*TimeSeriesRowKey) ProtoMessage

func (*TimeSeriesRowKey) ProtoMessage()

func (*TimeSeriesRowKey) ProtoReflect

func (x *TimeSeriesRowKey) ProtoReflect() protoreflect.Message

func (*TimeSeriesRowKey) Reset

func (x *TimeSeriesRowKey) Reset()

func (*TimeSeriesRowKey) String

func (x *TimeSeriesRowKey) String() string

type TypedValue

type TypedValue struct {

	// Types that are assignable to Value:
	//
	//	*TypedValue_StringValue
	//	*TypedValue_IntValue
	//	*TypedValue_DoubleValue
	//	*TypedValue_BoolValue
	//	*TypedValue_TimeValue
	//	*TypedValue_JsonValue
	//	*TypedValue_BytesValue
	//	*TypedValue_ListValue
	//	*TypedValue_NullValue
	Value isTypedValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*TypedValue) Descriptor deprecated

func (*TypedValue) Descriptor() ([]byte, []int)

Deprecated: Use TypedValue.ProtoReflect.Descriptor instead.

func (*TypedValue) GetBoolValue

func (x *TypedValue) GetBoolValue() bool

func (*TypedValue) GetBytesValue

func (x *TypedValue) GetBytesValue() []byte

func (*TypedValue) GetDoubleValue

func (x *TypedValue) GetDoubleValue() float64

func (*TypedValue) GetIntValue

func (x *TypedValue) GetIntValue() int64

func (*TypedValue) GetJsonValue

func (x *TypedValue) GetJsonValue() string

func (*TypedValue) GetListValue

func (x *TypedValue) GetListValue() *ValueList

func (*TypedValue) GetNullValue

func (x *TypedValue) GetNullValue() NullValue

func (*TypedValue) GetStringValue

func (x *TypedValue) GetStringValue() string

func (*TypedValue) GetTimeValue

func (x *TypedValue) GetTimeValue() string

func (*TypedValue) GetValue

func (m *TypedValue) GetValue() isTypedValue_Value

func (*TypedValue) ProtoMessage

func (*TypedValue) ProtoMessage()

func (*TypedValue) ProtoReflect

func (x *TypedValue) ProtoReflect() protoreflect.Message

func (*TypedValue) Reset

func (x *TypedValue) Reset()

func (*TypedValue) String

func (x *TypedValue) String() string

type TypedValue_BoolValue

type TypedValue_BoolValue struct {
	BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type TypedValue_BytesValue

type TypedValue_BytesValue struct {
	BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}

type TypedValue_DoubleValue

type TypedValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type TypedValue_IntValue

type TypedValue_IntValue struct {
	IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}

type TypedValue_JsonValue

type TypedValue_JsonValue struct {
	JsonValue string `protobuf:"bytes,6,opt,name=json_value,json=jsonValue,proto3,oneof"`
}

type TypedValue_ListValue

type TypedValue_ListValue struct {
	ListValue *ValueList `protobuf:"bytes,8,opt,name=list_value,json=listValue,proto3,oneof"`
}

type TypedValue_NullValue

type TypedValue_NullValue struct {
	NullValue NullValue `protobuf:"varint,9,opt,name=null_value,json=nullValue,proto3,enum=trpc.moox.storage.event.NullValue,oneof"`
}

type TypedValue_StringValue

type TypedValue_StringValue struct {
	StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type TypedValue_TimeValue

type TypedValue_TimeValue struct {
	TimeValue string `protobuf:"bytes,5,opt,name=time_value,json=timeValue,proto3,oneof"`
}

type ValueList

type ValueList struct {
	Values []*TypedValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*ValueList) Descriptor deprecated

func (*ValueList) Descriptor() ([]byte, []int)

Deprecated: Use ValueList.ProtoReflect.Descriptor instead.

func (*ValueList) GetValues

func (x *ValueList) GetValues() []*TypedValue

func (*ValueList) ProtoMessage

func (*ValueList) ProtoMessage()

func (*ValueList) ProtoReflect

func (x *ValueList) ProtoReflect() protoreflect.Message

func (*ValueList) Reset

func (x *ValueList) Reset()

func (*ValueList) String

func (x *ValueList) String() string

type ViewDataReady

type ViewDataReady struct {
	ViewId             string                 `protobuf:"bytes,1,opt,name=view_id,json=viewId,proto3" json:"view_id,omitempty"`
	ViewConfigId       string                 `protobuf:"bytes,2,opt,name=view_config_id,json=viewConfigId,proto3" json:"view_config_id,omitempty"`
	CompletionEventId  string                 `protobuf:"bytes,3,opt,name=completion_event_id,json=completionEventId,proto3" json:"completion_event_id,omitempty"`
	DatasetId          string                 `protobuf:"bytes,4,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	Status             string                 `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	VisibleScope       string                 `protobuf:"bytes,6,opt,name=visible_scope,json=visibleScope,proto3" json:"visible_scope,omitempty"`
	Frequency          string                 `protobuf:"bytes,7,opt,name=frequency,proto3" json:"frequency,omitempty"`
	PeriodTime         int64                  `protobuf:"varint,8,opt,name=period_time,json=periodTime,proto3" json:"period_time,omitempty"`
	FailedScopeRef     string                 `protobuf:"bytes,9,opt,name=failed_scope_ref,json=failedScopeRef,proto3" json:"failed_scope_ref,omitempty"`
	CommittedPositions []*CommittedPosition   `protobuf:"bytes,10,rep,name=committed_positions,json=committedPositions,proto3" json:"committed_positions,omitempty"`
	ReadyAt            *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=ready_at,json=readyAt,proto3" json:"ready_at,omitempty"`
	// 周期完成时复制冻结的标的全集,消费方不用再订阅一次完成事件就能锁定同一批成员。
	UniverseSubjectIds []string `protobuf:"bytes,12,rep,name=universe_subject_ids,json=universeSubjectIds,proto3" json:"universe_subject_ids,omitempty"`
	// detail_type、detail 原样透传周期完成事件里写入方自定义的明细(不透明字节)。
	DetailType string `protobuf:"bytes,13,opt,name=detail_type,json=detailType,proto3" json:"detail_type,omitempty"`
	Detail     []byte `protobuf:"bytes,14,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*ViewDataReady) Descriptor deprecated

func (*ViewDataReady) Descriptor() ([]byte, []int)

Deprecated: Use ViewDataReady.ProtoReflect.Descriptor instead.

func (*ViewDataReady) GetCommittedPositions

func (x *ViewDataReady) GetCommittedPositions() []*CommittedPosition

func (*ViewDataReady) GetCompletionEventId

func (x *ViewDataReady) GetCompletionEventId() string

func (*ViewDataReady) GetDatasetId

func (x *ViewDataReady) GetDatasetId() string

func (*ViewDataReady) GetDetail

func (x *ViewDataReady) GetDetail() []byte

func (*ViewDataReady) GetDetailType

func (x *ViewDataReady) GetDetailType() string

func (*ViewDataReady) GetFailedScopeRef

func (x *ViewDataReady) GetFailedScopeRef() string

func (*ViewDataReady) GetFrequency

func (x *ViewDataReady) GetFrequency() string

func (*ViewDataReady) GetPeriodTime

func (x *ViewDataReady) GetPeriodTime() int64

func (*ViewDataReady) GetReadyAt

func (x *ViewDataReady) GetReadyAt() *timestamppb.Timestamp

func (*ViewDataReady) GetStatus

func (x *ViewDataReady) GetStatus() string

func (*ViewDataReady) GetUniverseSubjectIds

func (x *ViewDataReady) GetUniverseSubjectIds() []string

func (*ViewDataReady) GetViewConfigId

func (x *ViewDataReady) GetViewConfigId() string

func (*ViewDataReady) GetViewId

func (x *ViewDataReady) GetViewId() string

func (*ViewDataReady) GetVisibleScope

func (x *ViewDataReady) GetVisibleScope() string

func (*ViewDataReady) ProtoMessage

func (*ViewDataReady) ProtoMessage()

func (*ViewDataReady) ProtoReflect

func (x *ViewDataReady) ProtoReflect() protoreflect.Message

func (*ViewDataReady) Reset

func (x *ViewDataReady) Reset()

func (*ViewDataReady) String

func (x *ViewDataReady) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL