@514labs/moose-proto 0.6.297-ci-5-g194c6fe0 → 0.6.297-ci-31-g4f06f9b8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -927,12 +927,6 @@ interface Table {
|
|
|
927
927
|
* @generated from protobuf field: optional string table_settings_hash = 20
|
|
928
928
|
*/
|
|
929
929
|
tableSettingsHash?: string;
|
|
930
|
-
/**
|
|
931
|
-
* Optional ClickHouse projections for query optimization
|
|
932
|
-
*
|
|
933
|
-
* @generated from protobuf field: repeated moose.proto.TableProjection projections = 21
|
|
934
|
-
*/
|
|
935
|
-
projections: TableProjection[];
|
|
936
930
|
}
|
|
937
931
|
/**
|
|
938
932
|
* @generated MessageType for protobuf message moose.proto.Table
|
|
@@ -1034,110 +1028,6 @@ interface TableIndex {
|
|
|
1034
1028
|
* @generated MessageType for protobuf message moose.proto.TableIndex
|
|
1035
1029
|
*/
|
|
1036
1030
|
declare const TableIndex: TableIndex$Type;
|
|
1037
|
-
declare class ProjectionClause$Type extends MessageType<ProjectionClause> {
|
|
1038
|
-
constructor();
|
|
1039
|
-
create(value?: PartialMessage<ProjectionClause>): ProjectionClause;
|
|
1040
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProjectionClause): ProjectionClause;
|
|
1041
|
-
internalBinaryWrite(message: ProjectionClause, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1042
|
-
}
|
|
1043
|
-
/**
|
|
1044
|
-
* Projection clause - either explicit fields or SQL expression
|
|
1045
|
-
*
|
|
1046
|
-
* @generated from protobuf message moose.proto.ProjectionClause
|
|
1047
|
-
*/
|
|
1048
|
-
interface ProjectionClause {
|
|
1049
|
-
/**
|
|
1050
|
-
* @generated from protobuf oneof: clause
|
|
1051
|
-
*/
|
|
1052
|
-
clause: {
|
|
1053
|
-
oneofKind: "fields";
|
|
1054
|
-
/**
|
|
1055
|
-
* List of field names (e.g., ["user_id", "timestamp"])
|
|
1056
|
-
*
|
|
1057
|
-
* @generated from protobuf field: moose.proto.ProjectionFields fields = 1
|
|
1058
|
-
*/
|
|
1059
|
-
fields: ProjectionFields;
|
|
1060
|
-
} | {
|
|
1061
|
-
oneofKind: "expression";
|
|
1062
|
-
/**
|
|
1063
|
-
* SQL expression (e.g., "toStartOfHour(timestamp) as hour, count() as cnt")
|
|
1064
|
-
*
|
|
1065
|
-
* @generated from protobuf field: string expression = 2
|
|
1066
|
-
*/
|
|
1067
|
-
expression: string;
|
|
1068
|
-
} | {
|
|
1069
|
-
oneofKind: undefined;
|
|
1070
|
-
};
|
|
1071
|
-
}
|
|
1072
|
-
/**
|
|
1073
|
-
* @generated MessageType for protobuf message moose.proto.ProjectionClause
|
|
1074
|
-
*/
|
|
1075
|
-
declare const ProjectionClause: ProjectionClause$Type;
|
|
1076
|
-
declare class ProjectionFields$Type extends MessageType<ProjectionFields> {
|
|
1077
|
-
constructor();
|
|
1078
|
-
create(value?: PartialMessage<ProjectionFields>): ProjectionFields;
|
|
1079
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProjectionFields): ProjectionFields;
|
|
1080
|
-
internalBinaryWrite(message: ProjectionFields, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1081
|
-
}
|
|
1082
|
-
/**
|
|
1083
|
-
* Wrapper for repeated field names in projections
|
|
1084
|
-
*
|
|
1085
|
-
* @generated from protobuf message moose.proto.ProjectionFields
|
|
1086
|
-
*/
|
|
1087
|
-
interface ProjectionFields {
|
|
1088
|
-
/**
|
|
1089
|
-
* Field names to include in the projection
|
|
1090
|
-
*
|
|
1091
|
-
* @generated from protobuf field: repeated string field = 1
|
|
1092
|
-
*/
|
|
1093
|
-
field: string[];
|
|
1094
|
-
}
|
|
1095
|
-
/**
|
|
1096
|
-
* @generated MessageType for protobuf message moose.proto.ProjectionFields
|
|
1097
|
-
*/
|
|
1098
|
-
declare const ProjectionFields: ProjectionFields$Type;
|
|
1099
|
-
declare class TableProjection$Type extends MessageType<TableProjection> {
|
|
1100
|
-
constructor();
|
|
1101
|
-
create(value?: PartialMessage<TableProjection>): TableProjection;
|
|
1102
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TableProjection): TableProjection;
|
|
1103
|
-
internalBinaryWrite(message: TableProjection, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1104
|
-
}
|
|
1105
|
-
/**
|
|
1106
|
-
* ClickHouse projection for query optimization
|
|
1107
|
-
* Projections duplicate data with different sort orders or pre-computed aggregations
|
|
1108
|
-
*
|
|
1109
|
-
* @generated from protobuf message moose.proto.TableProjection
|
|
1110
|
-
*/
|
|
1111
|
-
interface TableProjection {
|
|
1112
|
-
/**
|
|
1113
|
-
* Unique name for the projection
|
|
1114
|
-
*
|
|
1115
|
-
* @generated from protobuf field: string name = 1
|
|
1116
|
-
*/
|
|
1117
|
-
name: string;
|
|
1118
|
-
/**
|
|
1119
|
-
* Columns or expression to project (required)
|
|
1120
|
-
*
|
|
1121
|
-
* @generated from protobuf field: moose.proto.ProjectionClause select = 2
|
|
1122
|
-
*/
|
|
1123
|
-
select?: ProjectionClause;
|
|
1124
|
-
/**
|
|
1125
|
-
* Optional ordering for non-aggregate projections (mutually exclusive with group_by)
|
|
1126
|
-
*
|
|
1127
|
-
* @generated from protobuf field: moose.proto.ProjectionClause order_by = 3
|
|
1128
|
-
*/
|
|
1129
|
-
orderBy?: ProjectionClause;
|
|
1130
|
-
/**
|
|
1131
|
-
* Optional grouping for aggregate projections (mutually exclusive with order_by)
|
|
1132
|
-
*
|
|
1133
|
-
* @generated from protobuf field: optional moose.proto.ProjectionClause group_by = 4
|
|
1134
|
-
*/
|
|
1135
|
-
groupBy?: ProjectionClause;
|
|
1136
|
-
}
|
|
1137
|
-
/**
|
|
1138
|
-
* @generated MessageType for protobuf message moose.proto.TableProjection
|
|
1139
|
-
*/
|
|
1140
|
-
declare const TableProjection: TableProjection$Type;
|
|
1141
1031
|
declare class View$Type extends MessageType<View> {
|
|
1142
1032
|
constructor();
|
|
1143
1033
|
create(value?: PartialMessage<View>): View;
|
|
@@ -1990,4 +1880,4 @@ interface WebAppMetadata {
|
|
|
1990
1880
|
*/
|
|
1991
1881
|
declare const WebAppMetadata: WebAppMetadata$Type;
|
|
1992
1882
|
|
|
1993
|
-
export { ApiEndpoint, Column, ColumnType, ConsumptionQueryParam, DataEnum, DateType, Decimal, EgressDetails, EndpointIngestionFormat, EnumMember, EnumValue, FloatType, FunctionProcess, InfrastructureMap, InfrastructureSignature, IngressDetails, InitialDataLoad, IntType, Json, JsonTypedPath, LifeCycle, Map, Metadata, Method, Nested, OrchestrationWorker, OrderBy, OrderByFields, PrimitiveSignature, PrimitiveTypes,
|
|
1883
|
+
export { ApiEndpoint, Column, ColumnType, ConsumptionQueryParam, DataEnum, DateType, Decimal, EgressDetails, EndpointIngestionFormat, EnumMember, EnumValue, FloatType, FunctionProcess, InfrastructureMap, InfrastructureSignature, IngressDetails, InitialDataLoad, IntType, Json, JsonTypedPath, LifeCycle, Map, Metadata, Method, Nested, OrchestrationWorker, OrderBy, OrderByFields, PrimitiveSignature, PrimitiveTypes, SchemaRegistry, SchemaRegistry_Encoding, SimpleColumnType, SourceLocation, SqlResource, SubjectVersion, Table, TableAlias, TableIndex, Topic, TopicToTableSyncProcess, TopicToTopicSyncProcess, Tuple, View, WebApp, WebAppMetadata };
|
|
@@ -927,12 +927,6 @@ interface Table {
|
|
|
927
927
|
* @generated from protobuf field: optional string table_settings_hash = 20
|
|
928
928
|
*/
|
|
929
929
|
tableSettingsHash?: string;
|
|
930
|
-
/**
|
|
931
|
-
* Optional ClickHouse projections for query optimization
|
|
932
|
-
*
|
|
933
|
-
* @generated from protobuf field: repeated moose.proto.TableProjection projections = 21
|
|
934
|
-
*/
|
|
935
|
-
projections: TableProjection[];
|
|
936
930
|
}
|
|
937
931
|
/**
|
|
938
932
|
* @generated MessageType for protobuf message moose.proto.Table
|
|
@@ -1034,110 +1028,6 @@ interface TableIndex {
|
|
|
1034
1028
|
* @generated MessageType for protobuf message moose.proto.TableIndex
|
|
1035
1029
|
*/
|
|
1036
1030
|
declare const TableIndex: TableIndex$Type;
|
|
1037
|
-
declare class ProjectionClause$Type extends MessageType<ProjectionClause> {
|
|
1038
|
-
constructor();
|
|
1039
|
-
create(value?: PartialMessage<ProjectionClause>): ProjectionClause;
|
|
1040
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProjectionClause): ProjectionClause;
|
|
1041
|
-
internalBinaryWrite(message: ProjectionClause, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1042
|
-
}
|
|
1043
|
-
/**
|
|
1044
|
-
* Projection clause - either explicit fields or SQL expression
|
|
1045
|
-
*
|
|
1046
|
-
* @generated from protobuf message moose.proto.ProjectionClause
|
|
1047
|
-
*/
|
|
1048
|
-
interface ProjectionClause {
|
|
1049
|
-
/**
|
|
1050
|
-
* @generated from protobuf oneof: clause
|
|
1051
|
-
*/
|
|
1052
|
-
clause: {
|
|
1053
|
-
oneofKind: "fields";
|
|
1054
|
-
/**
|
|
1055
|
-
* List of field names (e.g., ["user_id", "timestamp"])
|
|
1056
|
-
*
|
|
1057
|
-
* @generated from protobuf field: moose.proto.ProjectionFields fields = 1
|
|
1058
|
-
*/
|
|
1059
|
-
fields: ProjectionFields;
|
|
1060
|
-
} | {
|
|
1061
|
-
oneofKind: "expression";
|
|
1062
|
-
/**
|
|
1063
|
-
* SQL expression (e.g., "toStartOfHour(timestamp) as hour, count() as cnt")
|
|
1064
|
-
*
|
|
1065
|
-
* @generated from protobuf field: string expression = 2
|
|
1066
|
-
*/
|
|
1067
|
-
expression: string;
|
|
1068
|
-
} | {
|
|
1069
|
-
oneofKind: undefined;
|
|
1070
|
-
};
|
|
1071
|
-
}
|
|
1072
|
-
/**
|
|
1073
|
-
* @generated MessageType for protobuf message moose.proto.ProjectionClause
|
|
1074
|
-
*/
|
|
1075
|
-
declare const ProjectionClause: ProjectionClause$Type;
|
|
1076
|
-
declare class ProjectionFields$Type extends MessageType<ProjectionFields> {
|
|
1077
|
-
constructor();
|
|
1078
|
-
create(value?: PartialMessage<ProjectionFields>): ProjectionFields;
|
|
1079
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProjectionFields): ProjectionFields;
|
|
1080
|
-
internalBinaryWrite(message: ProjectionFields, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1081
|
-
}
|
|
1082
|
-
/**
|
|
1083
|
-
* Wrapper for repeated field names in projections
|
|
1084
|
-
*
|
|
1085
|
-
* @generated from protobuf message moose.proto.ProjectionFields
|
|
1086
|
-
*/
|
|
1087
|
-
interface ProjectionFields {
|
|
1088
|
-
/**
|
|
1089
|
-
* Field names to include in the projection
|
|
1090
|
-
*
|
|
1091
|
-
* @generated from protobuf field: repeated string field = 1
|
|
1092
|
-
*/
|
|
1093
|
-
field: string[];
|
|
1094
|
-
}
|
|
1095
|
-
/**
|
|
1096
|
-
* @generated MessageType for protobuf message moose.proto.ProjectionFields
|
|
1097
|
-
*/
|
|
1098
|
-
declare const ProjectionFields: ProjectionFields$Type;
|
|
1099
|
-
declare class TableProjection$Type extends MessageType<TableProjection> {
|
|
1100
|
-
constructor();
|
|
1101
|
-
create(value?: PartialMessage<TableProjection>): TableProjection;
|
|
1102
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TableProjection): TableProjection;
|
|
1103
|
-
internalBinaryWrite(message: TableProjection, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1104
|
-
}
|
|
1105
|
-
/**
|
|
1106
|
-
* ClickHouse projection for query optimization
|
|
1107
|
-
* Projections duplicate data with different sort orders or pre-computed aggregations
|
|
1108
|
-
*
|
|
1109
|
-
* @generated from protobuf message moose.proto.TableProjection
|
|
1110
|
-
*/
|
|
1111
|
-
interface TableProjection {
|
|
1112
|
-
/**
|
|
1113
|
-
* Unique name for the projection
|
|
1114
|
-
*
|
|
1115
|
-
* @generated from protobuf field: string name = 1
|
|
1116
|
-
*/
|
|
1117
|
-
name: string;
|
|
1118
|
-
/**
|
|
1119
|
-
* Columns or expression to project (required)
|
|
1120
|
-
*
|
|
1121
|
-
* @generated from protobuf field: moose.proto.ProjectionClause select = 2
|
|
1122
|
-
*/
|
|
1123
|
-
select?: ProjectionClause;
|
|
1124
|
-
/**
|
|
1125
|
-
* Optional ordering for non-aggregate projections (mutually exclusive with group_by)
|
|
1126
|
-
*
|
|
1127
|
-
* @generated from protobuf field: moose.proto.ProjectionClause order_by = 3
|
|
1128
|
-
*/
|
|
1129
|
-
orderBy?: ProjectionClause;
|
|
1130
|
-
/**
|
|
1131
|
-
* Optional grouping for aggregate projections (mutually exclusive with order_by)
|
|
1132
|
-
*
|
|
1133
|
-
* @generated from protobuf field: optional moose.proto.ProjectionClause group_by = 4
|
|
1134
|
-
*/
|
|
1135
|
-
groupBy?: ProjectionClause;
|
|
1136
|
-
}
|
|
1137
|
-
/**
|
|
1138
|
-
* @generated MessageType for protobuf message moose.proto.TableProjection
|
|
1139
|
-
*/
|
|
1140
|
-
declare const TableProjection: TableProjection$Type;
|
|
1141
1031
|
declare class View$Type extends MessageType<View> {
|
|
1142
1032
|
constructor();
|
|
1143
1033
|
create(value?: PartialMessage<View>): View;
|
|
@@ -1990,4 +1880,4 @@ interface WebAppMetadata {
|
|
|
1990
1880
|
*/
|
|
1991
1881
|
declare const WebAppMetadata: WebAppMetadata$Type;
|
|
1992
1882
|
|
|
1993
|
-
export { ApiEndpoint, Column, ColumnType, ConsumptionQueryParam, DataEnum, DateType, Decimal, EgressDetails, EndpointIngestionFormat, EnumMember, EnumValue, FloatType, FunctionProcess, InfrastructureMap, InfrastructureSignature, IngressDetails, InitialDataLoad, IntType, Json, JsonTypedPath, LifeCycle, Map, Metadata, Method, Nested, OrchestrationWorker, OrderBy, OrderByFields, PrimitiveSignature, PrimitiveTypes,
|
|
1883
|
+
export { ApiEndpoint, Column, ColumnType, ConsumptionQueryParam, DataEnum, DateType, Decimal, EgressDetails, EndpointIngestionFormat, EnumMember, EnumValue, FloatType, FunctionProcess, InfrastructureMap, InfrastructureSignature, IngressDetails, InitialDataLoad, IntType, Json, JsonTypedPath, LifeCycle, Map, Metadata, Method, Nested, OrchestrationWorker, OrderBy, OrderByFields, PrimitiveSignature, PrimitiveTypes, SchemaRegistry, SchemaRegistry_Encoding, SimpleColumnType, SourceLocation, SqlResource, SubjectVersion, Table, TableAlias, TableIndex, Topic, TopicToTableSyncProcess, TopicToTopicSyncProcess, Tuple, View, WebApp, WebAppMetadata };
|
|
@@ -50,8 +50,6 @@ __export(infrastructure_map_exports, {
|
|
|
50
50
|
OrderByFields: () => OrderByFields,
|
|
51
51
|
PrimitiveSignature: () => PrimitiveSignature,
|
|
52
52
|
PrimitiveTypes: () => PrimitiveTypes,
|
|
53
|
-
ProjectionClause: () => ProjectionClause,
|
|
54
|
-
ProjectionFields: () => ProjectionFields,
|
|
55
53
|
SchemaRegistry: () => SchemaRegistry,
|
|
56
54
|
SchemaRegistry_Encoding: () => SchemaRegistry_Encoding,
|
|
57
55
|
SimpleColumnType: () => SimpleColumnType,
|
|
@@ -61,7 +59,6 @@ __export(infrastructure_map_exports, {
|
|
|
61
59
|
Table: () => Table,
|
|
62
60
|
TableAlias: () => TableAlias,
|
|
63
61
|
TableIndex: () => TableIndex,
|
|
64
|
-
TableProjection: () => TableProjection,
|
|
65
62
|
Topic: () => Topic,
|
|
66
63
|
TopicToTableSyncProcess: () => TopicToTableSyncProcess,
|
|
67
64
|
TopicToTopicSyncProcess: () => TopicToTopicSyncProcess,
|
|
@@ -2036,8 +2033,7 @@ var Table$Type = class extends import_runtime16.MessageType {
|
|
|
2036
2033
|
opt: true,
|
|
2037
2034
|
T: 9
|
|
2038
2035
|
/*ScalarType.STRING*/
|
|
2039
|
-
}
|
|
2040
|
-
{ no: 21, name: "projections", kind: "message", repeat: 2, T: () => TableProjection }
|
|
2036
|
+
}
|
|
2041
2037
|
]);
|
|
2042
2038
|
}
|
|
2043
2039
|
create(value) {
|
|
@@ -2049,7 +2045,6 @@ var Table$Type = class extends import_runtime16.MessageType {
|
|
|
2049
2045
|
message.lifeCycle = 0;
|
|
2050
2046
|
message.tableSettings = {};
|
|
2051
2047
|
message.indexes = [];
|
|
2052
|
-
message.projections = [];
|
|
2053
2048
|
if (value !== void 0)
|
|
2054
2049
|
(0, import_runtime15.reflectionMergePartial)(this, message, value);
|
|
2055
2050
|
return message;
|
|
@@ -2139,10 +2134,6 @@ var Table$Type = class extends import_runtime16.MessageType {
|
|
|
2139
2134
|
20:
|
|
2140
2135
|
message.tableSettingsHash = reader.string();
|
|
2141
2136
|
break;
|
|
2142
|
-
case /* repeated moose.proto.TableProjection projections */
|
|
2143
|
-
21:
|
|
2144
|
-
message.projections.push(TableProjection.internalBinaryRead(reader, reader.uint32(), options));
|
|
2145
|
-
break;
|
|
2146
2137
|
default:
|
|
2147
2138
|
let u = options.readUnknownField;
|
|
2148
2139
|
if (u === "throw")
|
|
@@ -2212,8 +2203,6 @@ var Table$Type = class extends import_runtime16.MessageType {
|
|
|
2212
2203
|
writer.tag(19, import_runtime13.WireType.LengthDelimited).string(message.primaryKeyExpression);
|
|
2213
2204
|
if (message.tableSettingsHash !== void 0)
|
|
2214
2205
|
writer.tag(20, import_runtime13.WireType.LengthDelimited).string(message.tableSettingsHash);
|
|
2215
|
-
for (let i = 0; i < message.projections.length; i++)
|
|
2216
|
-
TableProjection.internalBinaryWrite(message.projections[i], writer.tag(21, import_runtime13.WireType.LengthDelimited).fork(), options).join();
|
|
2217
2206
|
let u = options.writeUnknownFields;
|
|
2218
2207
|
if (u !== false)
|
|
2219
2208
|
(u == true ? import_runtime14.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2441,189 +2430,6 @@ var TableIndex$Type = class extends import_runtime16.MessageType {
|
|
|
2441
2430
|
}
|
|
2442
2431
|
};
|
|
2443
2432
|
var TableIndex = new TableIndex$Type();
|
|
2444
|
-
var ProjectionClause$Type = class extends import_runtime16.MessageType {
|
|
2445
|
-
constructor() {
|
|
2446
|
-
super("moose.proto.ProjectionClause", [
|
|
2447
|
-
{ no: 1, name: "fields", kind: "message", oneof: "clause", T: () => ProjectionFields },
|
|
2448
|
-
{
|
|
2449
|
-
no: 2,
|
|
2450
|
-
name: "expression",
|
|
2451
|
-
kind: "scalar",
|
|
2452
|
-
oneof: "clause",
|
|
2453
|
-
T: 9
|
|
2454
|
-
/*ScalarType.STRING*/
|
|
2455
|
-
}
|
|
2456
|
-
]);
|
|
2457
|
-
}
|
|
2458
|
-
create(value) {
|
|
2459
|
-
const message = globalThis.Object.create(this.messagePrototype);
|
|
2460
|
-
message.clause = { oneofKind: void 0 };
|
|
2461
|
-
if (value !== void 0)
|
|
2462
|
-
(0, import_runtime15.reflectionMergePartial)(this, message, value);
|
|
2463
|
-
return message;
|
|
2464
|
-
}
|
|
2465
|
-
internalBinaryRead(reader, length, options, target) {
|
|
2466
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2467
|
-
while (reader.pos < end) {
|
|
2468
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2469
|
-
switch (fieldNo) {
|
|
2470
|
-
case /* moose.proto.ProjectionFields fields */
|
|
2471
|
-
1:
|
|
2472
|
-
message.clause = {
|
|
2473
|
-
oneofKind: "fields",
|
|
2474
|
-
fields: ProjectionFields.internalBinaryRead(reader, reader.uint32(), options, message.clause.fields)
|
|
2475
|
-
};
|
|
2476
|
-
break;
|
|
2477
|
-
case /* string expression */
|
|
2478
|
-
2:
|
|
2479
|
-
message.clause = {
|
|
2480
|
-
oneofKind: "expression",
|
|
2481
|
-
expression: reader.string()
|
|
2482
|
-
};
|
|
2483
|
-
break;
|
|
2484
|
-
default:
|
|
2485
|
-
let u = options.readUnknownField;
|
|
2486
|
-
if (u === "throw")
|
|
2487
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2488
|
-
let d = reader.skip(wireType);
|
|
2489
|
-
if (u !== false)
|
|
2490
|
-
(u === true ? import_runtime14.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2491
|
-
}
|
|
2492
|
-
}
|
|
2493
|
-
return message;
|
|
2494
|
-
}
|
|
2495
|
-
internalBinaryWrite(message, writer, options) {
|
|
2496
|
-
if (message.clause.oneofKind === "fields")
|
|
2497
|
-
ProjectionFields.internalBinaryWrite(message.clause.fields, writer.tag(1, import_runtime13.WireType.LengthDelimited).fork(), options).join();
|
|
2498
|
-
if (message.clause.oneofKind === "expression")
|
|
2499
|
-
writer.tag(2, import_runtime13.WireType.LengthDelimited).string(message.clause.expression);
|
|
2500
|
-
let u = options.writeUnknownFields;
|
|
2501
|
-
if (u !== false)
|
|
2502
|
-
(u == true ? import_runtime14.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2503
|
-
return writer;
|
|
2504
|
-
}
|
|
2505
|
-
};
|
|
2506
|
-
var ProjectionClause = new ProjectionClause$Type();
|
|
2507
|
-
var ProjectionFields$Type = class extends import_runtime16.MessageType {
|
|
2508
|
-
constructor() {
|
|
2509
|
-
super("moose.proto.ProjectionFields", [
|
|
2510
|
-
{
|
|
2511
|
-
no: 1,
|
|
2512
|
-
name: "field",
|
|
2513
|
-
kind: "scalar",
|
|
2514
|
-
repeat: 2,
|
|
2515
|
-
T: 9
|
|
2516
|
-
/*ScalarType.STRING*/
|
|
2517
|
-
}
|
|
2518
|
-
]);
|
|
2519
|
-
}
|
|
2520
|
-
create(value) {
|
|
2521
|
-
const message = globalThis.Object.create(this.messagePrototype);
|
|
2522
|
-
message.field = [];
|
|
2523
|
-
if (value !== void 0)
|
|
2524
|
-
(0, import_runtime15.reflectionMergePartial)(this, message, value);
|
|
2525
|
-
return message;
|
|
2526
|
-
}
|
|
2527
|
-
internalBinaryRead(reader, length, options, target) {
|
|
2528
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2529
|
-
while (reader.pos < end) {
|
|
2530
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2531
|
-
switch (fieldNo) {
|
|
2532
|
-
case /* repeated string field */
|
|
2533
|
-
1:
|
|
2534
|
-
message.field.push(reader.string());
|
|
2535
|
-
break;
|
|
2536
|
-
default:
|
|
2537
|
-
let u = options.readUnknownField;
|
|
2538
|
-
if (u === "throw")
|
|
2539
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2540
|
-
let d = reader.skip(wireType);
|
|
2541
|
-
if (u !== false)
|
|
2542
|
-
(u === true ? import_runtime14.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2543
|
-
}
|
|
2544
|
-
}
|
|
2545
|
-
return message;
|
|
2546
|
-
}
|
|
2547
|
-
internalBinaryWrite(message, writer, options) {
|
|
2548
|
-
for (let i = 0; i < message.field.length; i++)
|
|
2549
|
-
writer.tag(1, import_runtime13.WireType.LengthDelimited).string(message.field[i]);
|
|
2550
|
-
let u = options.writeUnknownFields;
|
|
2551
|
-
if (u !== false)
|
|
2552
|
-
(u == true ? import_runtime14.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2553
|
-
return writer;
|
|
2554
|
-
}
|
|
2555
|
-
};
|
|
2556
|
-
var ProjectionFields = new ProjectionFields$Type();
|
|
2557
|
-
var TableProjection$Type = class extends import_runtime16.MessageType {
|
|
2558
|
-
constructor() {
|
|
2559
|
-
super("moose.proto.TableProjection", [
|
|
2560
|
-
{
|
|
2561
|
-
no: 1,
|
|
2562
|
-
name: "name",
|
|
2563
|
-
kind: "scalar",
|
|
2564
|
-
T: 9
|
|
2565
|
-
/*ScalarType.STRING*/
|
|
2566
|
-
},
|
|
2567
|
-
{ no: 2, name: "select", kind: "message", T: () => ProjectionClause },
|
|
2568
|
-
{ no: 3, name: "order_by", kind: "message", T: () => ProjectionClause },
|
|
2569
|
-
{ no: 4, name: "group_by", kind: "message", T: () => ProjectionClause }
|
|
2570
|
-
]);
|
|
2571
|
-
}
|
|
2572
|
-
create(value) {
|
|
2573
|
-
const message = globalThis.Object.create(this.messagePrototype);
|
|
2574
|
-
message.name = "";
|
|
2575
|
-
if (value !== void 0)
|
|
2576
|
-
(0, import_runtime15.reflectionMergePartial)(this, message, value);
|
|
2577
|
-
return message;
|
|
2578
|
-
}
|
|
2579
|
-
internalBinaryRead(reader, length, options, target) {
|
|
2580
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2581
|
-
while (reader.pos < end) {
|
|
2582
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2583
|
-
switch (fieldNo) {
|
|
2584
|
-
case /* string name */
|
|
2585
|
-
1:
|
|
2586
|
-
message.name = reader.string();
|
|
2587
|
-
break;
|
|
2588
|
-
case /* moose.proto.ProjectionClause select */
|
|
2589
|
-
2:
|
|
2590
|
-
message.select = ProjectionClause.internalBinaryRead(reader, reader.uint32(), options, message.select);
|
|
2591
|
-
break;
|
|
2592
|
-
case /* moose.proto.ProjectionClause order_by */
|
|
2593
|
-
3:
|
|
2594
|
-
message.orderBy = ProjectionClause.internalBinaryRead(reader, reader.uint32(), options, message.orderBy);
|
|
2595
|
-
break;
|
|
2596
|
-
case /* optional moose.proto.ProjectionClause group_by */
|
|
2597
|
-
4:
|
|
2598
|
-
message.groupBy = ProjectionClause.internalBinaryRead(reader, reader.uint32(), options, message.groupBy);
|
|
2599
|
-
break;
|
|
2600
|
-
default:
|
|
2601
|
-
let u = options.readUnknownField;
|
|
2602
|
-
if (u === "throw")
|
|
2603
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2604
|
-
let d = reader.skip(wireType);
|
|
2605
|
-
if (u !== false)
|
|
2606
|
-
(u === true ? import_runtime14.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2607
|
-
}
|
|
2608
|
-
}
|
|
2609
|
-
return message;
|
|
2610
|
-
}
|
|
2611
|
-
internalBinaryWrite(message, writer, options) {
|
|
2612
|
-
if (message.name !== "")
|
|
2613
|
-
writer.tag(1, import_runtime13.WireType.LengthDelimited).string(message.name);
|
|
2614
|
-
if (message.select)
|
|
2615
|
-
ProjectionClause.internalBinaryWrite(message.select, writer.tag(2, import_runtime13.WireType.LengthDelimited).fork(), options).join();
|
|
2616
|
-
if (message.orderBy)
|
|
2617
|
-
ProjectionClause.internalBinaryWrite(message.orderBy, writer.tag(3, import_runtime13.WireType.LengthDelimited).fork(), options).join();
|
|
2618
|
-
if (message.groupBy)
|
|
2619
|
-
ProjectionClause.internalBinaryWrite(message.groupBy, writer.tag(4, import_runtime13.WireType.LengthDelimited).fork(), options).join();
|
|
2620
|
-
let u = options.writeUnknownFields;
|
|
2621
|
-
if (u !== false)
|
|
2622
|
-
(u == true ? import_runtime14.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2623
|
-
return writer;
|
|
2624
|
-
}
|
|
2625
|
-
};
|
|
2626
|
-
var TableProjection = new TableProjection$Type();
|
|
2627
2433
|
var View$Type = class extends import_runtime16.MessageType {
|
|
2628
2434
|
constructor() {
|
|
2629
2435
|
super("moose.proto.View", [
|
|
@@ -4696,8 +4502,6 @@ var WebAppMetadata = new WebAppMetadata$Type();
|
|
|
4696
4502
|
OrderByFields,
|
|
4697
4503
|
PrimitiveSignature,
|
|
4698
4504
|
PrimitiveTypes,
|
|
4699
|
-
ProjectionClause,
|
|
4700
|
-
ProjectionFields,
|
|
4701
4505
|
SchemaRegistry,
|
|
4702
4506
|
SchemaRegistry_Encoding,
|
|
4703
4507
|
SimpleColumnType,
|
|
@@ -4707,7 +4511,6 @@ var WebAppMetadata = new WebAppMetadata$Type();
|
|
|
4707
4511
|
Table,
|
|
4708
4512
|
TableAlias,
|
|
4709
4513
|
TableIndex,
|
|
4710
|
-
TableProjection,
|
|
4711
4514
|
Topic,
|
|
4712
4515
|
TopicToTableSyncProcess,
|
|
4713
4516
|
TopicToTopicSyncProcess,
|