Module ksqldb_confluent.batched_query_result
Expand source code
# Copyright 2022 Confluent Inc.
#
# 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
#
# http://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.
#
# Refer to LICENSE for more information.
from dataclasses import dataclass
from typing import List
from ksqldb_confluent.row import Row
from ksqldb_confluent.types.schema import Schema
@dataclass
class BatchedQueryResult:
"""
The result returned from issuing a query.
"""
query_id: str
schema: Schema
rows: List[Row]
Classes
class BatchedQueryResult (query_id: str, schema: Schema, rows: List[Row])
-
The result returned from issuing a query.
Expand source code
@dataclass class BatchedQueryResult: """ The result returned from issuing a query. """ query_id: str schema: Schema rows: List[Row]
Class variables
var query_id : str
var rows : List[Row]
var schema : Schema