forked from opendatahub-io/feast
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDataFormat_pb2.pyi
More file actions
287 lines (244 loc) · 12.2 KB
/
Copy pathDataFormat_pb2.pyi
File metadata and controls
287 lines (244 loc) · 12.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
Copyright 2020 The Feast Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import builtins
import collections.abc
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import sys
if sys.version_info >= (3, 8):
import typing as typing_extensions
else:
import typing_extensions
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class FileFormat(google.protobuf.message.Message):
"""Defines the file format encoding the features/entity data in files"""
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class ParquetFormat(google.protobuf.message.Message):
"""Defines options for the Parquet data format"""
DESCRIPTOR: google.protobuf.descriptor.Descriptor
def __init__(
self,
) -> None: ...
PARQUET_FORMAT_FIELD_NUMBER: builtins.int
DELTA_FORMAT_FIELD_NUMBER: builtins.int
@property
def parquet_format(self) -> global___FileFormat.ParquetFormat: ...
@property
def delta_format(self) -> global___TableFormat.DeltaFormat:
"""Deprecated: Delta Lake is a table format, not a file format.
Use TableFormat.DeltaFormat instead for Delta Lake support.
"""
def __init__(
self,
*,
parquet_format: global___FileFormat.ParquetFormat | None = ...,
delta_format: global___TableFormat.DeltaFormat | None = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["delta_format", b"delta_format", "format", b"format", "parquet_format", b"parquet_format"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["delta_format", b"delta_format", "format", b"format", "parquet_format", b"parquet_format"]) -> None: ...
def WhichOneof(self, oneof_group: typing_extensions.Literal["format", b"format"]) -> typing_extensions.Literal["parquet_format", "delta_format"] | None: ...
global___FileFormat = FileFormat
class TableFormat(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class IcebergFormat(google.protobuf.message.Message):
"""Defines options for Apache Iceberg table format"""
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class PropertiesEntry(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
KEY_FIELD_NUMBER: builtins.int
VALUE_FIELD_NUMBER: builtins.int
key: builtins.str
value: builtins.str
def __init__(
self,
*,
key: builtins.str = ...,
value: builtins.str = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
CATALOG_FIELD_NUMBER: builtins.int
NAMESPACE_FIELD_NUMBER: builtins.int
PROPERTIES_FIELD_NUMBER: builtins.int
catalog: builtins.str
"""Optional catalog name for the Iceberg table"""
namespace: builtins.str
"""Optional namespace (schema/database) within the catalog"""
@property
def properties(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
"""Additional properties for Iceberg configuration
Examples: warehouse location, snapshot-id, as-of-timestamp, etc.
"""
def __init__(
self,
*,
catalog: builtins.str = ...,
namespace: builtins.str = ...,
properties: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["catalog", b"catalog", "namespace", b"namespace", "properties", b"properties"]) -> None: ...
class DeltaFormat(google.protobuf.message.Message):
"""Defines options for Delta Lake table format"""
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class PropertiesEntry(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
KEY_FIELD_NUMBER: builtins.int
VALUE_FIELD_NUMBER: builtins.int
key: builtins.str
value: builtins.str
def __init__(
self,
*,
key: builtins.str = ...,
value: builtins.str = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
CHECKPOINT_LOCATION_FIELD_NUMBER: builtins.int
PROPERTIES_FIELD_NUMBER: builtins.int
checkpoint_location: builtins.str
"""Optional checkpoint location for Delta transaction logs"""
@property
def properties(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
"""Additional properties for Delta configuration
Examples: auto-optimize settings, vacuum settings, etc.
"""
def __init__(
self,
*,
checkpoint_location: builtins.str = ...,
properties: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["checkpoint_location", b"checkpoint_location", "properties", b"properties"]) -> None: ...
class HudiFormat(google.protobuf.message.Message):
"""Defines options for Apache Hudi table format"""
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class PropertiesEntry(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
KEY_FIELD_NUMBER: builtins.int
VALUE_FIELD_NUMBER: builtins.int
key: builtins.str
value: builtins.str
def __init__(
self,
*,
key: builtins.str = ...,
value: builtins.str = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
TABLE_TYPE_FIELD_NUMBER: builtins.int
RECORD_KEY_FIELD_NUMBER: builtins.int
PRECOMBINE_FIELD_FIELD_NUMBER: builtins.int
PROPERTIES_FIELD_NUMBER: builtins.int
table_type: builtins.str
"""Type of Hudi table (COPY_ON_WRITE or MERGE_ON_READ)"""
record_key: builtins.str
"""Field(s) that uniquely identify a record"""
precombine_field: builtins.str
"""Field used to determine the latest version of a record"""
@property
def properties(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
"""Additional properties for Hudi configuration
Examples: compaction strategy, indexing options, etc.
"""
def __init__(
self,
*,
table_type: builtins.str = ...,
record_key: builtins.str = ...,
precombine_field: builtins.str = ...,
properties: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["precombine_field", b"precombine_field", "properties", b"properties", "record_key", b"record_key", "table_type", b"table_type"]) -> None: ...
ICEBERG_FORMAT_FIELD_NUMBER: builtins.int
DELTA_FORMAT_FIELD_NUMBER: builtins.int
HUDI_FORMAT_FIELD_NUMBER: builtins.int
@property
def iceberg_format(self) -> global___TableFormat.IcebergFormat: ...
@property
def delta_format(self) -> global___TableFormat.DeltaFormat: ...
@property
def hudi_format(self) -> global___TableFormat.HudiFormat: ...
def __init__(
self,
*,
iceberg_format: global___TableFormat.IcebergFormat | None = ...,
delta_format: global___TableFormat.DeltaFormat | None = ...,
hudi_format: global___TableFormat.HudiFormat | None = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["delta_format", b"delta_format", "format", b"format", "hudi_format", b"hudi_format", "iceberg_format", b"iceberg_format"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["delta_format", b"delta_format", "format", b"format", "hudi_format", b"hudi_format", "iceberg_format", b"iceberg_format"]) -> None: ...
def WhichOneof(self, oneof_group: typing_extensions.Literal["format", b"format"]) -> typing_extensions.Literal["iceberg_format", "delta_format", "hudi_format"] | None: ...
global___TableFormat = TableFormat
class StreamFormat(google.protobuf.message.Message):
"""Defines the data format encoding features/entity data in data streams"""
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class ProtoFormat(google.protobuf.message.Message):
"""Defines options for the protobuf data format"""
DESCRIPTOR: google.protobuf.descriptor.Descriptor
CLASS_PATH_FIELD_NUMBER: builtins.int
class_path: builtins.str
"""Classpath to the generated Java Protobuf class that can be used to decode
Feature data from the obtained stream message
"""
def __init__(
self,
*,
class_path: builtins.str = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["class_path", b"class_path"]) -> None: ...
class AvroFormat(google.protobuf.message.Message):
"""Defines options for the avro data format"""
DESCRIPTOR: google.protobuf.descriptor.Descriptor
SCHEMA_JSON_FIELD_NUMBER: builtins.int
schema_json: builtins.str
"""Optional if used in a File DataSource as schema is embedded in avro file.
Specifies the schema of the Avro message as JSON string.
"""
def __init__(
self,
*,
schema_json: builtins.str = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["schema_json", b"schema_json"]) -> None: ...
class JsonFormat(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
SCHEMA_JSON_FIELD_NUMBER: builtins.int
schema_json: builtins.str
def __init__(
self,
*,
schema_json: builtins.str = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["schema_json", b"schema_json"]) -> None: ...
AVRO_FORMAT_FIELD_NUMBER: builtins.int
PROTO_FORMAT_FIELD_NUMBER: builtins.int
JSON_FORMAT_FIELD_NUMBER: builtins.int
@property
def avro_format(self) -> global___StreamFormat.AvroFormat: ...
@property
def proto_format(self) -> global___StreamFormat.ProtoFormat: ...
@property
def json_format(self) -> global___StreamFormat.JsonFormat: ...
def __init__(
self,
*,
avro_format: global___StreamFormat.AvroFormat | None = ...,
proto_format: global___StreamFormat.ProtoFormat | None = ...,
json_format: global___StreamFormat.JsonFormat | None = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["avro_format", b"avro_format", "format", b"format", "json_format", b"json_format", "proto_format", b"proto_format"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["avro_format", b"avro_format", "format", b"format", "json_format", b"json_format", "proto_format", b"proto_format"]) -> None: ...
def WhichOneof(self, oneof_group: typing_extensions.Literal["format", b"format"]) -> typing_extensions.Literal["avro_format", "proto_format", "json_format"] | None: ...
global___StreamFormat = StreamFormat