UNPKG

@finos/legend-graph

Version:
76 lines 3.2 kB
/** * Copyright (c) 2020-present, Goldman Sachs * * 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. */ import { SerializationFactory } from '@finos/legend-shared'; export declare const V1_EXECUTION_RESULT = "executionResult"; export declare const V1_ZIPKIN_TRACE_HEADER = "x-b3-traceid"; export declare const V1_DELEGATED_EXPORT_HEADER = "x-legend-delegated-export"; export declare class V1_ResultBuilder { static readonly builderSerialization: SerializationFactory<V1_ResultBuilder>; } export declare abstract class V1_ExecutionActivities { } export declare class V1_RelationalExecutionActivities extends V1_ExecutionActivities { sql: string; comment?: string | undefined; static readonly serialization: SerializationFactory<V1_RelationalExecutionActivities>; } export declare class V1_AggregationAwareActivities extends V1_ExecutionActivities { rewrittenQuery: string; static readonly serialization: SerializationFactory<V1_AggregationAwareActivities>; } export declare abstract class V1_ExecutionResult { builder: V1_ResultBuilder; activities: V1_ExecutionActivities[] | undefined; } export declare class V1_UnknownExecutionActivity extends V1_ExecutionActivities { content: object; constructor(content: object); } export declare class V1_JsonExecutionResult extends V1_ExecutionResult { values: object; static readonly serialization: SerializationFactory<V1_JsonExecutionResult>; } /** * TODO?: maybe we converge to use V1_TDSColumn * * Since here, we're building out the result builder config, we don't need * to fully resolve all the references, hence we have this simplified version of V1_TDSColumn */ export declare class V1_INTERNAL__TDSColumn { name: string; doc?: string | undefined; type?: string | undefined; relationalType?: string | undefined; static readonly serialization: SerializationFactory<V1_INTERNAL__TDSColumn>; } export declare class V1_TDSBuilder extends V1_ResultBuilder { columns: V1_INTERNAL__TDSColumn[]; static readonly serialization: SerializationFactory<V1_TDSBuilder>; } export declare class V1_TDSExecutionResult extends V1_ExecutionResult { builder: V1_TDSBuilder; result: object; static readonly serialization: SerializationFactory<V1_TDSExecutionResult>; } export declare class V1_ClassExecutionResult extends V1_ExecutionResult { objects: object; static readonly serialization: SerializationFactory<V1_ClassExecutionResult>; } export declare class V1_RawExecutionResult extends V1_ExecutionResult { value: string | number | boolean | null; constructor(value: string | number | boolean | null); } //# sourceMappingURL=V1_ExecutionResult.d.ts.map