Socket
Socket
Sign inDemoInstall

@apache-arrow/es2015-umd

Package Overview
Dependencies
Maintainers
6
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apache-arrow/es2015-umd - npm Package Compare versions

Comparing version 6.0.1 to 7.0.0

bin/bin/arrow2csv.js

913

Arrow.externs.js

@@ -31,2 +31,12 @@ // Licensed to the Apache Software Foundation (ASF) under one

var Encoding = function() {};
/** @type {?} */
Encoding[1] = function() {};
/** @type {?} */
Encoding[2] = function() {};
/** @type {?} */
Encoding.UTF8_BYTES = function() {};
/** @type {?} */
Encoding.UTF16_STRING = function() {};
var DateUnit = function() {};

@@ -47,5 +57,9 @@ /** @type {?} */

/** @type {?} */
IntervalUnit[2] = function() {};
/** @type {?} */
IntervalUnit.YEAR_MONTH = function() {};
/** @type {?} */
IntervalUnit.DAY_TIME = function() {};
/** @type {?} */
IntervalUnit.MONTH_DAY_NANO = function() {};
var MessageHeader = function() {};

@@ -332,40 +346,2 @@ /** @type {?} */

/** @type {?} */
Data.new = function() {};
/** @type {?} */
Data.Null = function() {};
/** @type {?} */
Data.Int = function() {};
/** @type {?} */
Data.Dictionary = function() {};
/** @type {?} */
Data.Float = function() {};
/** @type {?} */
Data.Bool = function() {};
/** @type {?} */
Data.Decimal = function() {};
/** @type {?} */
Data.Date = function() {};
/** @type {?} */
Data.Time = function() {};
/** @type {?} */
Data.Timestamp = function() {};
/** @type {?} */
Data.Interval = function() {};
/** @type {?} */
Data.FixedSizeBinary = function() {};
/** @type {?} */
Data.Binary = function() {};
/** @type {?} */
Data.Utf8 = function() {};
/** @type {?} */
Data.List = function() {};
/** @type {?} */
Data.FixedSizeList = function() {};
/** @type {?} */
Data.Struct = function() {};
/** @type {?} */
Data.Map = function() {};
/** @type {?} */
Data.Union = function() {};
/** @type {?} */
Data.prototype.typeId;

@@ -381,2 +357,6 @@ /** @type {?} */

/** @type {?} */
Data.prototype.getValid;
/** @type {?} */
Data.prototype.setValid;
/** @type {?} */
Data.prototype.clone;

@@ -386,3 +366,4 @@ /** @type {?} */

/** @type {?} */
Data.prototype.childData;
Data.prototype.children;
var makeData = function() {};
var DataType = function() {};

@@ -426,2 +407,6 @@ /** @type {?} */

/** @type {?} */
DataType.isDenseUnion = function() {};
/** @type {?} */
DataType.isSparseUnion = function() {};
/** @type {?} */
DataType.prototype.typeId;

@@ -532,7 +517,7 @@ /** @type {?} */

/** @type {?} */
Time.prototype.ArrayType;
/** @type {?} */
Time.prototype.unit;
/** @type {?} */
Time.prototype.bitWidth;
/** @type {?} */
Time.prototype.ArrayType;
var TimeSecond = function() {};

@@ -567,2 +552,7 @@ var TimeMillisecond = function() {};

Struct.prototype.children;
var StructRow = function() {};
/** @type {?} */
StructRow.prototype.toArray;
/** @type {?} */
StructRow.prototype.toJSON;
var Union = function() {};

@@ -630,36 +620,47 @@ /** @type {?} */

/** @type {?} */
Map_.prototype.childType;
/** @type {?} */
Map_.prototype.children;
/** @type {?} */
Map_.prototype.keysSorted;
var MapRow = function() {};
/** @type {?} */
MapRow.prototype.size;
/** @type {?} */
MapRow.prototype.toArray;
/** @type {?} */
MapRow.prototype.toJSON;
var Table = function() {};
/** @type {?} */
Table.empty = function() {};
Table.prototype.data;
/** @type {?} */
Table.from = function() {};
Table.prototype.numCols;
/** @type {?} */
Table.fromAsync = function() {};
Table.prototype.numRows;
/** @type {?} */
Table.fromStruct = function() {};
Table.prototype.nullCount;
/** @type {?} */
Table.new = function() {};
Table.prototype.isValid;
/** @type {?} */
Table.prototype.schema;
Table.prototype.get;
/** @type {?} */
Table.prototype.chunks;
Table.prototype.set;
/** @type {?} */
Table.prototype.numCols;
Table.prototype.indexOf;
/** @type {?} */
Table.prototype.clone;
Table.prototype.getByteLength;
/** @type {?} */
Table.prototype.getColumn;
Table.prototype.toArray;
/** @type {?} */
Table.prototype.getColumnAt;
Table.prototype.concat;
/** @type {?} */
Table.prototype.getColumnIndex;
Table.prototype.slice;
/** @type {?} */
Table.prototype.getChild;
/** @type {?} */
Table.prototype.getChildAt;
/** @type {?} */
Table.prototype.serialize;
Table.prototype.setChild;
/** @type {?} */
Table.prototype.count;
Table.prototype.setChildAt;
/** @type {?} */

@@ -671,15 +672,8 @@ Table.prototype.select;

Table.prototype.assign;
var Column = function() {};
/** @type {?} */
Column.new = function() {};
Table.prototype.schema;
/** @type {?} */
Column.prototype.field;
/** @type {?} */
Column.prototype.nullable;
/** @type {?} */
Column.prototype.metadata;
/** @type {?} */
Column.prototype.clone;
/** @type {?} */
Column.prototype.getChildAt;
Table.prototype.batches;
var makeTable = function() {};
var tableFromArrays = function() {};
var Schema = function() {};

@@ -693,2 +687,4 @@ /** @type {?} */

/** @type {?} */
Schema.prototype.names;
/** @type {?} */
Schema.prototype.select;

@@ -732,2 +728,4 @@ /** @type {?} */

/** @type {?} */
Visitor.prototype.getVisitFnByTypeId;
/** @type {?} */
Visitor.prototype.visitNull;

@@ -820,630 +818,49 @@ /** @type {?} */

/** @type {?} */
Vector.new = function() {};
Vector.prototype.byteLength;
/** @type {?} */
Vector.from = function() {};
Vector.prototype.nullCount;
/** @type {?} */
Vector.prototype.data;
var BaseVector = function() {};
Vector.prototype.ArrayType;
/** @type {?} */
BaseVector.prototype.type;
Vector.prototype.VectorName;
/** @type {?} */
BaseVector.prototype.typeId;
Vector.prototype.isValid;
/** @type {?} */
BaseVector.prototype.offset;
Vector.prototype.get;
/** @type {?} */
BaseVector.prototype.stride;
Vector.prototype.set;
/** @type {?} */
BaseVector.prototype.nullCount;
Vector.prototype.indexOf;
/** @type {?} */
BaseVector.prototype.byteLength;
Vector.prototype.includes;
/** @type {?} */
BaseVector.prototype.VectorName;
Vector.prototype.getByteLength;
/** @type {?} */
BaseVector.prototype.ArrayType;
Vector.prototype.concat;
/** @type {?} */
BaseVector.prototype.values;
Vector.prototype.slice;
/** @type {?} */
BaseVector.prototype.typeIds;
Vector.prototype.toJSON;
/** @type {?} */
BaseVector.prototype.nullBitmap;
Vector.prototype.toArray;
/** @type {?} */
BaseVector.prototype.valueOffsets;
Vector.prototype.getChild;
/** @type {?} */
BaseVector.prototype.clone;
Vector.prototype.getChildAt;
/** @type {?} */
BaseVector.prototype.concat;
Vector.prototype.isMemoized;
/** @type {?} */
BaseVector.prototype.slice;
Vector.prototype.memoize;
/** @type {?} */
BaseVector.prototype.isValid;
Vector.prototype.unmemoize;
/** @type {?} */
BaseVector.prototype.getChildAt;
Vector.prototype.type;
/** @type {?} */
BaseVector.prototype.toJSON;
Vector.prototype.data;
/** @type {?} */
BaseVector.prototype.get;
Vector.prototype.stride;
/** @type {?} */
BaseVector.prototype.set;
/** @type {?} */
BaseVector.prototype.indexOf;
/** @type {?} */
BaseVector.prototype.toArray;
/** @type {?} */
BaseVector.prototype.getByteWidth;
var BinaryVector = function() {};
/** @type {?} */
BinaryVector.prototype.asUtf8;
/** @type {?} */
BinaryVector.prototype.get;
/** @type {?} */
BinaryVector.prototype.set;
/** @type {?} */
BinaryVector.prototype.indexOf;
/** @type {?} */
BinaryVector.prototype.toArray;
/** @type {?} */
BinaryVector.prototype.getByteWidth;
var BoolVector = function() {};
/** @type {?} */
BoolVector.from = function() {};
/** @type {?} */
BoolVector.prototype.get;
/** @type {?} */
BoolVector.prototype.set;
/** @type {?} */
BoolVector.prototype.indexOf;
/** @type {?} */
BoolVector.prototype.toArray;
/** @type {?} */
BoolVector.prototype.getByteWidth;
var Chunked = function() {};
/** @type {?} */
Chunked.flatten = function() {};
/** @type {?} */
Chunked.concat = function() {};
/** @type {?} */
Chunked.prototype.type;
/** @type {?} */
Chunked.prototype.chunks;
/** @type {?} */
Chunked.prototype.typeId;
/** @type {?} */
Chunked.prototype.VectorName;
/** @type {?} */
Chunked.prototype.data;
/** @type {?} */
Chunked.prototype.ArrayType;
/** @type {?} */
Chunked.prototype.numChildren;
/** @type {?} */
Chunked.prototype.stride;
/** @type {?} */
Chunked.prototype.byteLength;
/** @type {?} */
Chunked.prototype.nullCount;
/** @type {?} */
Chunked.prototype.indices;
/** @type {?} */
Chunked.prototype.dictionary;
/** @type {?} */
Chunked.prototype.clone;
/** @type {?} */
Chunked.prototype.concat;
/** @type {?} */
Chunked.prototype.slice;
/** @type {?} */
Chunked.prototype.getChildAt;
/** @type {?} */
Chunked.prototype.search;
/** @type {?} */
Chunked.prototype.isValid;
/** @type {?} */
Chunked.prototype.get;
/** @type {?} */
Chunked.prototype.set;
/** @type {?} */
Chunked.prototype.indexOf;
/** @type {?} */
Chunked.prototype.toArray;
/** @type {?} */
Chunked.prototype.getInternal;
/** @type {?} */
Chunked.prototype.isValidInternal;
/** @type {?} */
Chunked.prototype.indexOfInternal;
var DateVector = function() {};
/** @type {?} */
DateVector.from = function() {};
/** @type {?} */
DateVector.prototype.get;
/** @type {?} */
DateVector.prototype.set;
/** @type {?} */
DateVector.prototype.indexOf;
/** @type {?} */
DateVector.prototype.toArray;
/** @type {?} */
DateVector.prototype.getByteWidth;
var DateDayVector = function() {};
/** @type {?} */
DateDayVector.prototype.get;
/** @type {?} */
DateDayVector.prototype.set;
/** @type {?} */
DateDayVector.prototype.indexOf;
/** @type {?} */
DateDayVector.prototype.toArray;
/** @type {?} */
DateDayVector.prototype.getByteWidth;
var DateMillisecondVector = function() {};
/** @type {?} */
DateMillisecondVector.prototype.get;
/** @type {?} */
DateMillisecondVector.prototype.set;
/** @type {?} */
DateMillisecondVector.prototype.indexOf;
/** @type {?} */
DateMillisecondVector.prototype.toArray;
/** @type {?} */
DateMillisecondVector.prototype.getByteWidth;
var DecimalVector = function() {};
/** @type {?} */
DecimalVector.prototype.get;
/** @type {?} */
DecimalVector.prototype.set;
/** @type {?} */
DecimalVector.prototype.indexOf;
/** @type {?} */
DecimalVector.prototype.toArray;
/** @type {?} */
DecimalVector.prototype.getByteWidth;
var DictionaryVector = function() {};
/** @type {?} */
DictionaryVector.from = function() {};
/** @type {?} */
DictionaryVector.prototype.dictionary;
/** @type {?} */
DictionaryVector.prototype.reverseLookup;
/** @type {?} */
DictionaryVector.prototype.getKey;
/** @type {?} */
DictionaryVector.prototype.getValue;
/** @type {?} */
DictionaryVector.prototype.setKey;
/** @type {?} */
DictionaryVector.prototype.setValue;
/** @type {?} */
DictionaryVector.prototype.indices;
/** @type {?} */
DictionaryVector.prototype.get;
/** @type {?} */
DictionaryVector.prototype.set;
/** @type {?} */
DictionaryVector.prototype.indexOf;
/** @type {?} */
DictionaryVector.prototype.toArray;
/** @type {?} */
DictionaryVector.prototype.getByteWidth;
var FixedSizeBinaryVector = function() {};
/** @type {?} */
FixedSizeBinaryVector.prototype.get;
/** @type {?} */
FixedSizeBinaryVector.prototype.set;
/** @type {?} */
FixedSizeBinaryVector.prototype.indexOf;
/** @type {?} */
FixedSizeBinaryVector.prototype.toArray;
/** @type {?} */
FixedSizeBinaryVector.prototype.getByteWidth;
var FixedSizeListVector = function() {};
/** @type {?} */
FixedSizeListVector.prototype.get;
/** @type {?} */
FixedSizeListVector.prototype.set;
/** @type {?} */
FixedSizeListVector.prototype.indexOf;
/** @type {?} */
FixedSizeListVector.prototype.toArray;
/** @type {?} */
FixedSizeListVector.prototype.getByteWidth;
var FloatVector = function() {};
/** @type {?} */
FloatVector.from = function() {};
/** @type {?} */
FloatVector.prototype.get;
/** @type {?} */
FloatVector.prototype.set;
/** @type {?} */
FloatVector.prototype.indexOf;
/** @type {?} */
FloatVector.prototype.toArray;
/** @type {?} */
FloatVector.prototype.getByteWidth;
var Float16Vector = function() {};
/** @type {?} */
Float16Vector.prototype.toFloat32Array;
/** @type {?} */
Float16Vector.prototype.toFloat64Array;
/** @type {?} */
Float16Vector.prototype.get;
/** @type {?} */
Float16Vector.prototype.set;
/** @type {?} */
Float16Vector.prototype.indexOf;
/** @type {?} */
Float16Vector.prototype.toArray;
/** @type {?} */
Float16Vector.prototype.getByteWidth;
var Float32Vector = function() {};
/** @type {?} */
Float32Vector.prototype.get;
/** @type {?} */
Float32Vector.prototype.set;
/** @type {?} */
Float32Vector.prototype.indexOf;
/** @type {?} */
Float32Vector.prototype.toArray;
/** @type {?} */
Float32Vector.prototype.getByteWidth;
var Float64Vector = function() {};
/** @type {?} */
Float64Vector.prototype.get;
/** @type {?} */
Float64Vector.prototype.set;
/** @type {?} */
Float64Vector.prototype.indexOf;
/** @type {?} */
Float64Vector.prototype.toArray;
/** @type {?} */
Float64Vector.prototype.getByteWidth;
var IntervalVector = function() {};
/** @type {?} */
IntervalVector.prototype.get;
/** @type {?} */
IntervalVector.prototype.set;
/** @type {?} */
IntervalVector.prototype.indexOf;
/** @type {?} */
IntervalVector.prototype.toArray;
/** @type {?} */
IntervalVector.prototype.getByteWidth;
var IntervalDayTimeVector = function() {};
/** @type {?} */
IntervalDayTimeVector.prototype.get;
/** @type {?} */
IntervalDayTimeVector.prototype.set;
/** @type {?} */
IntervalDayTimeVector.prototype.indexOf;
/** @type {?} */
IntervalDayTimeVector.prototype.toArray;
/** @type {?} */
IntervalDayTimeVector.prototype.getByteWidth;
var IntervalYearMonthVector = function() {};
/** @type {?} */
IntervalYearMonthVector.prototype.get;
/** @type {?} */
IntervalYearMonthVector.prototype.set;
/** @type {?} */
IntervalYearMonthVector.prototype.indexOf;
/** @type {?} */
IntervalYearMonthVector.prototype.toArray;
/** @type {?} */
IntervalYearMonthVector.prototype.getByteWidth;
var IntVector = function() {};
/** @type {?} */
IntVector.from = function() {};
/** @type {?} */
IntVector.prototype.get;
/** @type {?} */
IntVector.prototype.set;
/** @type {?} */
IntVector.prototype.indexOf;
/** @type {?} */
IntVector.prototype.toArray;
/** @type {?} */
IntVector.prototype.getByteWidth;
var Int8Vector = function() {};
/** @type {?} */
Int8Vector.prototype.get;
/** @type {?} */
Int8Vector.prototype.set;
/** @type {?} */
Int8Vector.prototype.indexOf;
/** @type {?} */
Int8Vector.prototype.toArray;
/** @type {?} */
Int8Vector.prototype.getByteWidth;
var Int16Vector = function() {};
/** @type {?} */
Int16Vector.prototype.get;
/** @type {?} */
Int16Vector.prototype.set;
/** @type {?} */
Int16Vector.prototype.indexOf;
/** @type {?} */
Int16Vector.prototype.toArray;
/** @type {?} */
Int16Vector.prototype.getByteWidth;
var Int32Vector = function() {};
/** @type {?} */
Int32Vector.prototype.get;
/** @type {?} */
Int32Vector.prototype.set;
/** @type {?} */
Int32Vector.prototype.indexOf;
/** @type {?} */
Int32Vector.prototype.toArray;
/** @type {?} */
Int32Vector.prototype.getByteWidth;
var Int64Vector = function() {};
/** @type {?} */
Int64Vector.prototype.toBigInt64Array;
/** @type {?} */
Int64Vector.prototype.values64;
/** @type {?} */
Int64Vector.prototype.get;
/** @type {?} */
Int64Vector.prototype.set;
/** @type {?} */
Int64Vector.prototype.indexOf;
/** @type {?} */
Int64Vector.prototype.toArray;
/** @type {?} */
Int64Vector.prototype.getByteWidth;
var Uint8Vector = function() {};
/** @type {?} */
Uint8Vector.prototype.get;
/** @type {?} */
Uint8Vector.prototype.set;
/** @type {?} */
Uint8Vector.prototype.indexOf;
/** @type {?} */
Uint8Vector.prototype.toArray;
/** @type {?} */
Uint8Vector.prototype.getByteWidth;
var Uint16Vector = function() {};
/** @type {?} */
Uint16Vector.prototype.get;
/** @type {?} */
Uint16Vector.prototype.set;
/** @type {?} */
Uint16Vector.prototype.indexOf;
/** @type {?} */
Uint16Vector.prototype.toArray;
/** @type {?} */
Uint16Vector.prototype.getByteWidth;
var Uint32Vector = function() {};
/** @type {?} */
Uint32Vector.prototype.get;
/** @type {?} */
Uint32Vector.prototype.set;
/** @type {?} */
Uint32Vector.prototype.indexOf;
/** @type {?} */
Uint32Vector.prototype.toArray;
/** @type {?} */
Uint32Vector.prototype.getByteWidth;
var Uint64Vector = function() {};
/** @type {?} */
Uint64Vector.prototype.toBigUint64Array;
/** @type {?} */
Uint64Vector.prototype.values64;
/** @type {?} */
Uint64Vector.prototype.get;
/** @type {?} */
Uint64Vector.prototype.set;
/** @type {?} */
Uint64Vector.prototype.indexOf;
/** @type {?} */
Uint64Vector.prototype.toArray;
/** @type {?} */
Uint64Vector.prototype.getByteWidth;
var ListVector = function() {};
/** @type {?} */
ListVector.prototype.get;
/** @type {?} */
ListVector.prototype.set;
/** @type {?} */
ListVector.prototype.indexOf;
/** @type {?} */
ListVector.prototype.toArray;
/** @type {?} */
ListVector.prototype.getByteWidth;
var MapVector = function() {};
/** @type {?} */
MapVector.prototype.asList;
/** @type {?} */
MapVector.prototype.get;
/** @type {?} */
MapVector.prototype.set;
/** @type {?} */
MapVector.prototype.indexOf;
/** @type {?} */
MapVector.prototype.toArray;
/** @type {?} */
MapVector.prototype.getByteWidth;
var NullVector = function() {};
/** @type {?} */
NullVector.prototype.get;
/** @type {?} */
NullVector.prototype.set;
/** @type {?} */
NullVector.prototype.indexOf;
/** @type {?} */
NullVector.prototype.toArray;
/** @type {?} */
NullVector.prototype.getByteWidth;
var StructVector = function() {};
/** @type {?} */
StructVector.prototype.get;
/** @type {?} */
StructVector.prototype.set;
/** @type {?} */
StructVector.prototype.indexOf;
/** @type {?} */
StructVector.prototype.toArray;
/** @type {?} */
StructVector.prototype.getByteWidth;
var TimestampVector = function() {};
/** @type {?} */
TimestampVector.prototype.get;
/** @type {?} */
TimestampVector.prototype.set;
/** @type {?} */
TimestampVector.prototype.indexOf;
/** @type {?} */
TimestampVector.prototype.toArray;
/** @type {?} */
TimestampVector.prototype.getByteWidth;
var TimestampSecondVector = function() {};
/** @type {?} */
TimestampSecondVector.prototype.get;
/** @type {?} */
TimestampSecondVector.prototype.set;
/** @type {?} */
TimestampSecondVector.prototype.indexOf;
/** @type {?} */
TimestampSecondVector.prototype.toArray;
/** @type {?} */
TimestampSecondVector.prototype.getByteWidth;
var TimestampMillisecondVector = function() {};
/** @type {?} */
TimestampMillisecondVector.prototype.get;
/** @type {?} */
TimestampMillisecondVector.prototype.set;
/** @type {?} */
TimestampMillisecondVector.prototype.indexOf;
/** @type {?} */
TimestampMillisecondVector.prototype.toArray;
/** @type {?} */
TimestampMillisecondVector.prototype.getByteWidth;
var TimestampMicrosecondVector = function() {};
/** @type {?} */
TimestampMicrosecondVector.prototype.get;
/** @type {?} */
TimestampMicrosecondVector.prototype.set;
/** @type {?} */
TimestampMicrosecondVector.prototype.indexOf;
/** @type {?} */
TimestampMicrosecondVector.prototype.toArray;
/** @type {?} */
TimestampMicrosecondVector.prototype.getByteWidth;
var TimestampNanosecondVector = function() {};
/** @type {?} */
TimestampNanosecondVector.prototype.get;
/** @type {?} */
TimestampNanosecondVector.prototype.set;
/** @type {?} */
TimestampNanosecondVector.prototype.indexOf;
/** @type {?} */
TimestampNanosecondVector.prototype.toArray;
/** @type {?} */
TimestampNanosecondVector.prototype.getByteWidth;
var TimeVector = function() {};
/** @type {?} */
TimeVector.prototype.get;
/** @type {?} */
TimeVector.prototype.set;
/** @type {?} */
TimeVector.prototype.indexOf;
/** @type {?} */
TimeVector.prototype.toArray;
/** @type {?} */
TimeVector.prototype.getByteWidth;
var TimeSecondVector = function() {};
/** @type {?} */
TimeSecondVector.prototype.get;
/** @type {?} */
TimeSecondVector.prototype.set;
/** @type {?} */
TimeSecondVector.prototype.indexOf;
/** @type {?} */
TimeSecondVector.prototype.toArray;
/** @type {?} */
TimeSecondVector.prototype.getByteWidth;
var TimeMillisecondVector = function() {};
/** @type {?} */
TimeMillisecondVector.prototype.get;
/** @type {?} */
TimeMillisecondVector.prototype.set;
/** @type {?} */
TimeMillisecondVector.prototype.indexOf;
/** @type {?} */
TimeMillisecondVector.prototype.toArray;
/** @type {?} */
TimeMillisecondVector.prototype.getByteWidth;
var TimeMicrosecondVector = function() {};
/** @type {?} */
TimeMicrosecondVector.prototype.get;
/** @type {?} */
TimeMicrosecondVector.prototype.set;
/** @type {?} */
TimeMicrosecondVector.prototype.indexOf;
/** @type {?} */
TimeMicrosecondVector.prototype.toArray;
/** @type {?} */
TimeMicrosecondVector.prototype.getByteWidth;
var TimeNanosecondVector = function() {};
/** @type {?} */
TimeNanosecondVector.prototype.get;
/** @type {?} */
TimeNanosecondVector.prototype.set;
/** @type {?} */
TimeNanosecondVector.prototype.indexOf;
/** @type {?} */
TimeNanosecondVector.prototype.toArray;
/** @type {?} */
TimeNanosecondVector.prototype.getByteWidth;
var UnionVector = function() {};
/** @type {?} */
UnionVector.prototype.typeIdToChildIndex;
/** @type {?} */
UnionVector.prototype.get;
/** @type {?} */
UnionVector.prototype.set;
/** @type {?} */
UnionVector.prototype.indexOf;
/** @type {?} */
UnionVector.prototype.toArray;
/** @type {?} */
UnionVector.prototype.getByteWidth;
var DenseUnionVector = function() {};
/** @type {?} */
DenseUnionVector.prototype.valueOffsets;
/** @type {?} */
DenseUnionVector.prototype.get;
/** @type {?} */
DenseUnionVector.prototype.set;
/** @type {?} */
DenseUnionVector.prototype.indexOf;
/** @type {?} */
DenseUnionVector.prototype.toArray;
/** @type {?} */
DenseUnionVector.prototype.getByteWidth;
var SparseUnionVector = function() {};
/** @type {?} */
SparseUnionVector.prototype.get;
/** @type {?} */
SparseUnionVector.prototype.set;
/** @type {?} */
SparseUnionVector.prototype.indexOf;
/** @type {?} */
SparseUnionVector.prototype.toArray;
/** @type {?} */
SparseUnionVector.prototype.getByteWidth;
var Utf8Vector = function() {};
/** @type {?} */
Utf8Vector.from = function() {};
/** @type {?} */
Utf8Vector.prototype.asBinary;
/** @type {?} */
Utf8Vector.prototype.get;
/** @type {?} */
Utf8Vector.prototype.set;
/** @type {?} */
Utf8Vector.prototype.indexOf;
/** @type {?} */
Utf8Vector.prototype.toArray;
/** @type {?} */
Utf8Vector.prototype.getByteWidth;
Vector.prototype.numChildren;
var makeVector = function() {};
var vectorFromArray = function() {};
var ByteStream = function() {};

@@ -1535,4 +952,8 @@ /** @type {?} */

RecordBatchStreamReader.throughDOM = function() {};
/** @type {?} */
RecordBatchStreamReader.prototype.readAll;
var AsyncRecordBatchFileReader = function() {};
var AsyncRecordBatchStreamReader = function() {};
/** @type {?} */
AsyncRecordBatchStreamReader.prototype.readAll;
var RecordBatchWriter = function() {};

@@ -1578,2 +999,4 @@ /** @type {?} */

RecordBatchJSONWriter.prototype.close;
var tableFromIPC = function() {};
var tableToIPC = function() {};
var MessageReader = function() {};

@@ -1649,79 +1072,37 @@ /** @type {?} */

/** @type {?} */
RecordBatch.from = function() {};
RecordBatch.prototype.dictionaries;
/** @type {?} */
RecordBatch.new = function() {};
/** @type {?} */
RecordBatch.prototype.clone;
/** @type {?} */
RecordBatch.prototype.concat;
/** @type {?} */
RecordBatch.prototype.schema;
/** @type {?} */
RecordBatch.prototype.numCols;
/** @type {?} */
RecordBatch.prototype.dictionaries;
RecordBatch.prototype.numRows;
/** @type {?} */
RecordBatch.prototype.select;
RecordBatch.prototype.nullCount;
/** @type {?} */
RecordBatch.prototype.selectAt;
var DataFrame = function() {};
RecordBatch.prototype.isValid;
/** @type {?} */
DataFrame.prototype.filter;
RecordBatch.prototype.get;
/** @type {?} */
DataFrame.prototype.scan;
RecordBatch.prototype.set;
/** @type {?} */
DataFrame.prototype.scanReverse;
RecordBatch.prototype.indexOf;
/** @type {?} */
DataFrame.prototype.countBy;
var FilteredDataFrame = function() {};
RecordBatch.prototype.getByteLength;
/** @type {?} */
FilteredDataFrame.prototype.scan;
RecordBatch.prototype.toArray;
/** @type {?} */
FilteredDataFrame.prototype.scanReverse;
RecordBatch.prototype.concat;
/** @type {?} */
FilteredDataFrame.prototype.count;
RecordBatch.prototype.slice;
/** @type {?} */
FilteredDataFrame.prototype.filter;
RecordBatch.prototype.getChild;
/** @type {?} */
FilteredDataFrame.prototype.countBy;
var CountByResult = function() {};
RecordBatch.prototype.getChildAt;
/** @type {?} */
CountByResult.prototype.toJSON;
var predicate = function() {};
RecordBatch.prototype.setChild;
/** @type {?} */
predicate.And = function() {};
RecordBatch.prototype.setChildAt;
/** @type {?} */
predicate.Col = function() {};
RecordBatch.prototype.select;
/** @type {?} */
predicate.CombinationPredicate = function() {};
/** @type {?} */
predicate.ComparisonPredicate = function() {};
/** @type {?} */
predicate.CustomPredicate = function() {};
/** @type {?} */
predicate.Equals = function() {};
/** @type {?} */
predicate.GTeq = function() {};
/** @type {?} */
predicate.LTeq = function() {};
/** @type {?} */
predicate.Literal = function() {};
/** @type {?} */
predicate.Not = function() {};
/** @type {?} */
predicate.Or = function() {};
/** @type {?} */
predicate.Predicate = function() {};
/** @type {?} */
predicate.Value = function() {};
/** @type {?} */
predicate.and = function() {};
/** @type {?} */
predicate.col = function() {};
/** @type {?} */
predicate.custom = function() {};
/** @type {?} */
predicate.lit = function() {};
/** @type {?} */
predicate.or = function() {};
RecordBatch.prototype.selectAt;
var util = function() {};

@@ -1852,4 +1233,2 @@ /** @type {?} */

/** @type {?} */
Builder.new = function() {};
/** @type {?} */
Builder.throughNode = function() {};

@@ -1859,6 +1238,2 @@ /** @type {?} */

/** @type {?} */
Builder.throughIterable = function() {};
/** @type {?} */
Builder.throughAsyncIterable = function() {};
/** @type {?} */
Builder.prototype.toVector;

@@ -1913,2 +1288,5 @@ /** @type {?} */

Builder.prototype.nullValues;
var makeBuilder = function() {};
var builderThroughIterable = function() {};
var builderThroughAsyncIterable = function() {};
var BinaryBuilder = function() {};

@@ -1959,5 +1337,5 @@ /** @type {?} */

FixedSizeListBuilder.prototype.addChild;
var FloatBuilder = function() {};
/** @type {?} */
FixedSizeListBuilder.prototype.clear;
var FloatBuilder = function() {};
FloatBuilder.prototype.setValue;
var Float16Builder = function() {};

@@ -1967,7 +1345,3 @@ /** @type {?} */

var Float32Builder = function() {};
/** @type {?} */
Float32Builder.prototype.setValue;
var Float64Builder = function() {};
/** @type {?} */
Float64Builder.prototype.setValue;
var IntervalBuilder = function() {};

@@ -1983,6 +1357,2 @@ var IntervalDayTimeBuilder = function() {};

var Int64Builder = function() {};
/** @type {?} */
Int64Builder.prototype.values64;
/** @type {?} */
Int64Builder.prototype.isValid;
var Uint8Builder = function() {};

@@ -1992,11 +1362,5 @@ var Uint16Builder = function() {};

var Uint64Builder = function() {};
/** @type {?} */
Uint64Builder.prototype.values64;
/** @type {?} */
Uint64Builder.prototype.isValid;
var ListBuilder = function() {};
/** @type {?} */
ListBuilder.prototype.addChild;
/** @type {?} */
ListBuilder.prototype.clear;
var MapBuilder = function() {};

@@ -2016,2 +1380,4 @@ /** @type {?} */

/** @type {?} */
StructBuilder.prototype.setValue;
/** @type {?} */
StructBuilder.prototype.addChild;

@@ -2048,3 +1414,2 @@ var TimestampBuilder = function() {};

Utf8Builder.prototype.setValue;
var isTypedArray = function() {};
var BaseInt64 = function() {};

@@ -2125,40 +1490,2 @@ /** @type {?} */

/** @type {?} */
Int128.prototype.hex;
var Value = function() {};
/** @type {?} */
Value.prototype.eq;
/** @type {?} */
Value.prototype.le;
/** @type {?} */
Value.prototype.ge;
/** @type {?} */
Value.prototype.lt;
/** @type {?} */
Value.prototype.gt;
/** @type {?} */
Value.prototype.ne;
var Literal = function() {};
var Col = function() {};
var Predicate = function() {};
/** @type {?} */
Predicate.prototype.and;
/** @type {?} */
Predicate.prototype.or;
/** @type {?} */
Predicate.prototype.not;
var ComparisonPredicate = function() {};
var CombinationPredicate = function() {};
/** @type {?} */
CombinationPredicate.prototype.children;
var And = function() {};
var Or = function() {};
var Equals = function() {};
var LTeq = function() {};
var GTeq = function() {};
var Not = function() {};
var CustomPredicate = function() {};
var lit = function() {};
var col = function() {};
var and = function() {};
var or = function() {};
var custom = function() {};
Int128.prototype.hex;
{
"version": "6.0.1",
"version": "7.0.0",
"name": "@apache-arrow/es2015-umd",

@@ -25,10 +25,12 @@ "unpkg": "Arrow.js",

"dependencies": {
"@types/flatbuffers": "^1.10.0",
"@types/node": "^16.4.0",
"command-line-args": "5.1.3",
"@types/command-line-args": "5.2.0",
"@types/command-line-usage": "5.0.2",
"@types/node": "^17.0.8",
"@types/pad-left": "2.1.1",
"command-line-args": "5.2.0",
"command-line-usage": "6.1.1",
"flatbuffers": "1.12.0",
"flatbuffers": "2.0.4",
"json-bignum": "^0.0.3",
"pad-left": "^2.1.0",
"tslib": "^2.3.0"
"tslib": "^2.3.1"
},

@@ -35,0 +37,0 @@ "bin": {

@@ -40,7 +40,4 @@ <!---

Check out our [API documentation][7] to learn more about how to use Apache Arrow's JS implementation. You can also learn by example by checking out some of the following resources:
Check out our [API documentation][5] to learn more about how to use Apache Arrow's JS implementation. You can also learn by example by checking out some of the following resources:
* [Observable: Introduction to Apache Arrow][5]
* [Observable: Manipulating flat arrays arrow-style][6]
* [Observable: Rich columnar data tables - Dictionary-encoded strings, 64bit ints, and nested structs][8]
* [/js/test/unit](https://github.com/apache/arrow/tree/master/js/test/unit) - Unit tests for Table and Vector

@@ -54,8 +51,8 @@

import { readFileSync } from 'fs';
import { Table } from 'apache-arrow';
import { tableFromIPC } from 'apache-arrow';
const arrow = readFileSync('simple.arrow');
const table = Table.from([arrow]);
const table = tableFromIPC(arrow);
console.log(table.toString());
console.table(table.toArray());

@@ -76,5 +73,5 @@ /*

import { readFileSync } from 'fs';
import { Table } from 'apache-arrow';
import { tableFromIPC } from 'apache-arrow';
const table = Table.from([
const table = tableFromIPC([
'latlong/schema.arrow',

@@ -84,3 +81,3 @@ 'latlong/records.arrow'

console.log(table.toString());
console.table([...table]);

@@ -100,7 +97,3 @@ /*

```js
import {
Table,
FloatVector,
DateVector
} from 'apache-arrow';
import { tableFromArrays } from 'apache-arrow';

@@ -110,13 +103,15 @@ const LENGTH = 2000;

const rainAmounts = Float32Array.from(
{ length: LENGTH },
() => Number((Math.random() * 20).toFixed(1)));
{ length: LENGTH },
() => Number((Math.random() * 20).toFixed(1)));
const rainDates = Array.from(
{ length: LENGTH },
(_, i) => new Date(Date.now() - 1000 * 60 * 60 * 24 * i));
{ length: LENGTH },
(_, i) => new Date(Date.now() - 1000 * 60 * 60 * 24 * i));
const rainfall = Table.new(
[FloatVector.from(rainAmounts), DateVector.from(rainDates)],
['precipitation', 'date']
);
const rainfall = tableFromArrays({
precipitation: rainAmounts,
date: rainDates
});
console.table([...rainfall]);
```

@@ -127,31 +122,53 @@

```js
import { Table } from "apache-arrow";
import { tableFromIPC } from "apache-arrow";
const table = await Table.from(fetch("/simple.arrow"));
console.log(table.toString());
const table = await tableFromIPC(fetch("/simple.arrow"));
console.table([...table]);
```
### Columns look like JS Arrays
### Vectors look like JS Arrays
You can create vector from JavaScript typed arrays with `makeVector` and from JavaScript arrays with `vectorFromArray`. `makeVector` is a lot faster and does not require a copy.
```js
import { readFileSync } from 'fs';
import { Table } from 'apache-arrow';
import { makeVector } from "apache-arrow";
const table = Table.from([
'latlong/schema.arrow',
'latlong/records.arrow'
].map(readFileSync));
const LENGTH = 2000;
const column = table.getColumn('origin_lat');
const rainAmounts = Float32Array.from(
{ length: LENGTH },
() => Number((Math.random() * 20).toFixed(1)));
// Copy the data into a TypedArray
const typed = column.toArray();
const vector = makeVector(rainAmounts);
const typed = vector.toArray()
assert(typed instanceof Float32Array);
for (let i = -1, n = column.length; ++i < n;) {
assert(column.get(i) === typed[i]);
for (let i = -1, n = vector.length; ++i < n;) {
assert(vector.get(i) === typed[i]);
}
```
### String vectors
Strings can be encoded as UTF-8 or dictionary encoded UTF-8. Dictionary encoding encodes repeated values more efficiently. You can create a dictionary encoded string conveniently with `vectorFromArray` or efficiently with `makeVector`.
```js
import { makeVector, vectorFromArray, Dictionary, Uint8, Utf8 } from "apache-arrow";
const uft8Vector = vectorFromArray(['foo', 'bar', 'baz'], new Utf8);
const dictionaryVector1 = vectorFromArray(
['foo', 'bar', 'baz', 'foo', 'bar']
);
const dictionaryVector2 = makeVector({
data: [0, 1, 2, 0, 1], // indexes into the dictionary
dictionary: uft8Vector,
type: new Dictionary(new Utf8, new Uint8)
});
```
# Getting involved

@@ -231,3 +248,3 @@

* [Apache Arrow](https://arrow.apache.org) -- Parent project for Powering Columnar In-Memory Analytics, including affiliated open source projects
* [Perspective](https://github.com/jpmorganchase/perspective) -- Perspective is a streaming data visualization engine by J.P. Morgan for JavaScript for building real-time & user-configurable analytics entirely in the browser.
* [Perspective](https://github.com/finos/perspective) -- Perspective is an interactive analytics and data visualization component well-suited for large and/or streaming datasets. Perspective leverages Arrow C++ compiled to WebAssembly.
* [Falcon](https://github.com/uwdata/falcon) is a visualization tool for linked interactions across multiple aggregate visualizations of millions or billions of records.

@@ -246,5 +263,2 @@ * [Vega](https://github.com/vega) is an ecosystem of tools for interactive visualizations on the web. The Vega team implemented an [Arrow loader](https://github.com/vega/vega-loader-arrow).

[4]: https://github.com/apache/arrow
[5]: https://beta.observablehq.com/@theneuralbit/introduction-to-apache-arrow
[6]: https://beta.observablehq.com/@lmeyerov/manipulating-flat-arrays-arrow-style
[7]: https://arrow.apache.org/docs/js/
[8]: https://observablehq.com/@lmeyerov/rich-data-types-in-apache-arrow-js-efficient-data-tables-wit
[5]: https://arrow.apache.org/docs/js/

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc