Constructor
new VDataReader(readers, signalsopt, insensitiveCaseopt, queryFilteropt, queryStartTimeopt, queryEndTimeopt, readLivingDataopt, columnExpandModeopt, signalQueueModeopt)
The constructor for data reader. Deprecated since 2.7.1. Use VDataReaderFactory instead.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
readers |
Array.<Uint8Array> | seekable byte readers | ||
signals |
string |
<optional> |
null | provide a selected list of signals instead of all signals |
insensitiveCase |
boolean |
<optional> |
false | whether to ignore case sensitivity\ |
queryFilter |
boolean |
<optional> |
true | whether to apply query range filter |
queryStartTime |
number |
<optional> |
0 | the start time of the query filter (inclusive) |
queryEndTime |
number |
<optional> |
0 | the end time of the query filter (inclusive) |
readLivingData |
boolean |
<optional> |
true | whether to read living (non-finalized) bucket |
columnExpandMode |
string |
<optional> |
null | the column expand mode |
signalQueueMode |
string |
<optional> |
null | the signal queue mode |
Methods
df() → {VDataFrame}
Get the data frame.
Returns:
- Type
- VDataFrame
(static) getMeta(_reader) → {VDataMeta}
Static method to read the metadata info from a seekable reader.
Parameters:
Name | Type | Description |
---|---|---|
_reader |
VDataByteReader | the byte reader |
Returns:
- Type
- VDataMeta