import { Data } from '../data.js'; import { Visitor } from '../visitor.js'; import { TypeToDataType } from '../interfaces.js'; import { Type } from '../enum.js'; import { DataType, Dictionary, Bool, Null, Utf8, Binary, Decimal, FixedSizeBinary, List, FixedSizeList, Map_, Struct, Float, Float16, Float32, Float64, Int, Uint8, Uint16, Uint32, Uint64, Int8, Int16, Int32, Int64, Date_, DateDay, DateMillisecond, Interval, IntervalDayTime, IntervalYearMonth, Time, TimeSecond, TimeMillisecond, TimeMicrosecond, TimeNanosecond, Timestamp, TimestampSecond, TimestampMillisecond, TimestampMicrosecond, TimestampNanosecond, Union, DenseUnion, SparseUnion } from '../type.js'; /** @ignore */ export interface SetVisitor extends Visitor { visit(node: Data, index: number, value: T['TValue']): void; visitMany(nodes: Data[], indices: number[], values: T['TValue'][]): void[]; getVisitFn(node: Data | T): (data: Data, index: number, value: Data['TValue']) => void; getVisitFn(node: T): (data: Data>, index: number, value: TypeToDataType['TValue']) => void; visitNull(data: Data, index: number, value: T['TValue']): void; visitBool(data: Data, index: number, value: T['TValue']): void; visitInt(data: Data, index: number, value: T['TValue']): void; visitInt8(data: Data, index: number, value: T['TValue']): void; visitInt16(data: Data, index: number, value: T['TValue']): void; visitInt32(data: Data, index: number, value: T['TValue']): void; visitInt64(data: Data, index: number, value: T['TValue']): void; visitUint8(data: Data, index: number, value: T['TValue']): void; visitUint16(data: Data, index: number, value: T['TValue']): void; visitUint32(data: Data, index: number, value: T['TValue']): void; visitUint64(data: Data, index: number, value: T['TValue']): void; visitFloat(data: Data, index: number, value: T['TValue']): void; visitFloat16(data: Data, index: number, value: T['TValue']): void; visitFloat32(data: Data, index: number, value: T['TValue']): void; visitFloat64(data: Data, index: number, value: T['TValue']): void; visitUtf8(data: Data, index: number, value: T['TValue']): void; visitBinary(data: Data, index: number, value: T['TValue']): void; visitFixedSizeBinary(data: Data, index: number, value: T['TValue']): void; visitDate(data: Data, index: number, value: T['TValue']): void; visitDateDay(data: Data, index: number, value: T['TValue']): void; visitDateMillisecond(data: Data, index: number, value: T['TValue']): void; visitTimestamp(data: Data, index: number, value: T['TValue']): void; visitTimestampSecond(data: Data, index: number, value: T['TValue']): void; visitTimestampMillisecond(data: Data, index: number, value: T['TValue']): void; visitTimestampMicrosecond(data: Data, index: number, value: T['TValue']): void; visitTimestampNanosecond(data: Data, index: number, value: T['TValue']): void; visitTime(data: Data, index: number, value: T['TValue']): void; visitTimeSecond(data: Data, index: number, value: T['TValue']): void; visitTimeMillisecond(data: Data, index: number, value: T['TValue']): void; visitTimeMicrosecond(data: Data, index: number, value: T['TValue']): void; visitTimeNanosecond(data: Data, index: number, value: T['TValue']): void; visitDecimal(data: Data, index: number, value: T['TValue']): void; visitList(data: Data, index: number, value: T['TValue']): void; visitStruct(data: Data, index: number, value: T['TValue']): void; visitUnion(data: Data, index: number, value: T['TValue']): void; visitDenseUnion(data: Data, index: number, value: T['TValue']): void; visitSparseUnion(data: Data, index: number, value: T['TValue']): void; visitDictionary(data: Data, index: number, value: T['TValue']): void; visitInterval(data: Data, index: number, value: T['TValue']): void; visitIntervalDayTime(data: Data, index: number, value: T['TValue']): void; visitIntervalYearMonth(data: Data, index: number, value: T['TValue']): void; visitFixedSizeList(data: Data, index: number, value: T['TValue']): void; visitMap(data: Data, index: number, value: T['TValue']): void; } /** @ignore */ export declare class SetVisitor extends Visitor { } /** @ignore */ export declare const setEpochMsToDays: (data: Int32Array, index: number, epochMs: number) => void; /** @ignore */ export declare const setEpochMsToMillisecondsLong: (data: Int32Array, index: number, epochMs: number) => void; /** @ignore */ export declare const setEpochMsToMicrosecondsLong: (data: Int32Array, index: number, epochMs: number) => void; /** @ignore */ export declare const setEpochMsToNanosecondsLong: (data: Int32Array, index: number, epochMs: number) => void; /** @ignore */ export declare const setVariableWidthBytes: (values: Uint8Array, valueOffsets: Int32Array, index: number, value: Uint8Array) => void; /** @ignore */ export declare const setInt: >({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setFloat: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setFloat16: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setAnyFloat: >(data: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setDateDay: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setDateMillisecond: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setFixedSizeBinary: ({ stride, values }: Data, index: number, value: T["TValue"]) => void; export declare const setDate: >(data: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setTimestampSecond: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setTimestampMillisecond: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setTimestampMicrosecond: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setTimestampNanosecond: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setTimestamp: >(data: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setTimeSecond: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setTimeMillisecond: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setTimeMicrosecond: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setTimeNanosecond: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setTime: >(data: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setDecimal: ({ values, stride }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setIntervalValue: >(data: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setIntervalDayTime: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const setIntervalYearMonth: ({ values }: Data, index: number, value: T["TValue"]) => void; /** @ignore */ export declare const instance: SetVisitor;