X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Farrow%2Fjs%2Fsrc%2FArrow.dom.ts;fp=ceph%2Fsrc%2Farrow%2Fjs%2Fsrc%2FArrow.dom.ts;h=07f0c8b8e06e06705310ad28e6aff7c864da6df0;hb=1d09f67e50a235260a0812cca2fb044674d88150;hp=0000000000000000000000000000000000000000;hpb=a653f20b2fb9a1c0c3e465a23074d91f26031b5d;p=ceph.git diff --git a/ceph/src/arrow/js/src/Arrow.dom.ts b/ceph/src/arrow/js/src/Arrow.dom.ts new file mode 100644 index 000000000..07f0c8b8e --- /dev/null +++ b/ceph/src/arrow/js/src/Arrow.dom.ts @@ -0,0 +1,113 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you 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 streamAdapters from './io/adapters'; +import { Builder } from './builder/index'; +import { RecordBatchReader, RecordBatchFileReader, RecordBatchStreamReader, } from './ipc/reader'; +import { RecordBatchWriter, RecordBatchFileWriter, RecordBatchStreamWriter, } from './ipc/writer'; +import { toDOMStream } from './io/whatwg/iterable'; +import { builderThroughDOMStream } from './io/whatwg/builder'; +import { recordBatchReaderThroughDOMStream } from './io/whatwg/reader'; +import { recordBatchWriterThroughDOMStream } from './io/whatwg/writer'; + +streamAdapters.toDOMStream = toDOMStream; +Builder['throughDOM'] = builderThroughDOMStream; +RecordBatchReader['throughDOM'] = recordBatchReaderThroughDOMStream; +RecordBatchFileReader['throughDOM'] = recordBatchReaderThroughDOMStream; +RecordBatchStreamReader['throughDOM'] = recordBatchReaderThroughDOMStream; +RecordBatchWriter['throughDOM'] = recordBatchWriterThroughDOMStream; +RecordBatchFileWriter['throughDOM'] = recordBatchWriterThroughDOMStream; +RecordBatchStreamWriter['throughDOM'] = recordBatchWriterThroughDOMStream; + +export { + DateUnit, IntervalUnit, MessageHeader, MetadataVersion, Precision, TimeUnit, Type, UnionMode, BufferType, + Data, + DataType, + Null, + Bool, + Int, Int8, Int16, Int32, Int64, Uint8, Uint16, Uint32, Uint64, + Float, Float16, Float32, Float64, + Utf8, + Binary, + FixedSizeBinary, + Date_, DateDay, DateMillisecond, + Timestamp, TimestampSecond, TimestampMillisecond, TimestampMicrosecond, TimestampNanosecond, + Time, TimeSecond, TimeMillisecond, TimeMicrosecond, TimeNanosecond, + Decimal, + List, + Struct, + Union, DenseUnion, SparseUnion, + Dictionary, + Interval, IntervalDayTime, IntervalYearMonth, + FixedSizeList, + Map_, + Table, + Column, + Schema, Field, + Visitor, + Vector, + BaseVector, + BinaryVector, + BoolVector, + Chunked, + DateVector, DateDayVector, DateMillisecondVector, + DecimalVector, + DictionaryVector, + FixedSizeBinaryVector, + FixedSizeListVector, + FloatVector, Float16Vector, Float32Vector, Float64Vector, + IntervalVector, IntervalDayTimeVector, IntervalYearMonthVector, + IntVector, Int8Vector, Int16Vector, Int32Vector, Int64Vector, Uint8Vector, Uint16Vector, Uint32Vector, Uint64Vector, + ListVector, + MapVector, + NullVector, + StructVector, + TimestampVector, TimestampSecondVector, TimestampMillisecondVector, TimestampMicrosecondVector, TimestampNanosecondVector, + TimeVector, TimeSecondVector, TimeMillisecondVector, TimeMicrosecondVector, TimeNanosecondVector, + UnionVector, DenseUnionVector, SparseUnionVector, + Utf8Vector, + ByteStream, AsyncByteStream, AsyncByteQueue, ReadableSource, WritableSink, + RecordBatchReader, RecordBatchFileReader, RecordBatchStreamReader, AsyncRecordBatchFileReader, AsyncRecordBatchStreamReader, + RecordBatchWriter, RecordBatchFileWriter, RecordBatchStreamWriter, RecordBatchJSONWriter, + MessageReader, AsyncMessageReader, JSONMessageReader, + Message, + RecordBatch, + ArrowJSONLike, FileHandle, Readable, Writable, ReadableWritable, ReadableDOMStreamOptions, + DataFrame, FilteredDataFrame, CountByResult, BindFunc, NextFunc, + predicate, + util, + Builder, + BinaryBuilder, + BoolBuilder, + DateBuilder, DateDayBuilder, DateMillisecondBuilder, + DecimalBuilder, + DictionaryBuilder, + FixedSizeBinaryBuilder, + FixedSizeListBuilder, + FloatBuilder, Float16Builder, Float32Builder, Float64Builder, + IntervalBuilder, IntervalDayTimeBuilder, IntervalYearMonthBuilder, + IntBuilder, Int8Builder, Int16Builder, Int32Builder, Int64Builder, Uint8Builder, Uint16Builder, Uint32Builder, Uint64Builder, + ListBuilder, + MapBuilder, + NullBuilder, + StructBuilder, + TimestampBuilder, TimestampSecondBuilder, TimestampMillisecondBuilder, TimestampMicrosecondBuilder, TimestampNanosecondBuilder, + TimeBuilder, TimeSecondBuilder, TimeMillisecondBuilder, TimeMicrosecondBuilder, TimeNanosecondBuilder, + UnionBuilder, DenseUnionBuilder, SparseUnionBuilder, + Utf8Builder, + isTypedArray, +} from './Arrow';