public class MemoryDataset extends Dataset
Dataset.ColumnsDataReaderinternalId, internalName, log, TIMESTAMP_FORMATSERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
MemoryDataset(AbstractPipeline pipeline) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterLoad()
Called at the end of the data loading process after all the records and column stats have been loaded.
|
protected void |
beforeLoad()
Called at the start of the data loading process, but before any records or column stats have been loaded.
|
void |
close() |
protected DataWriter |
createDataWriter()
Writes records to this dataset's cache after clearing it.
|
Column |
getColumn(int index) |
Column |
getColumn(String name) |
long |
getColumnCount() |
List<String> |
getColumnNames() |
List<Column> |
getColumns() |
protected Column |
getOrCreateColumn(String name,
int index) |
Record |
getRecord(long index) |
long |
getRecordCount() |
MemoryDataset |
setPipeline(AbstractPipeline pipeline) |
addField, afterColumnStatsLoaded, afterRecordsLoaded, cancelLoad, createColumnsDataReader, createDataReader, createDataReader, finalize, forEach, fromRecord, getColumnStatsException, getColumnStatsReaderThreads, getDataLoadException, getJob, getJobExecutor, getMaxColumnStatsRecords, getMaxColumnsToAnalyze, getMaxRecordsToLoad, getPipeline, getRecordList, isCollectUniqueValues, isColumnStatsLoaded, isDataLoaded, isDataLoading, isDetectBigNumberValues, isDetectBooleanValues, isDetectNumericValues, isDetectTemporalValues, isDetectUuidValues, isInferStringTypes, isRecordsLoaded, iterator, load, load, load, setCollectUniqueValues, setColumnStatsLoaded, setColumnStatsReaderThreads, setDetectBigNumberValues, setDetectBooleanValues, setDetectNumericValues, setDetectTemporalValues, setDetectUuidValues, setInferStringTypes, setJobExecutor, setMaxColumnStatsRecords, setMaxColumnsToAnalyze, setRecordsLoaded, stream, toRecord, updateColumns, waitForColumnStatsToLoad, waitForColumnStatsToLoad, waitForRecordsToLoad, waitForRecordsToLoad, waitUntilJobFinishedaddExceptionProperties, assertValid, assertValid, clone, exception, exception, exception, getInternalId, getInternalName, resetInternalIdequals, getClass, hashCode, notify, notifyAll, wait, wait, waitspliteratorfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, fromXmlElement, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, toXmlElement, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionPropertiespublic MemoryDataset(AbstractPipeline pipeline)
public MemoryDataset setPipeline(AbstractPipeline pipeline)
setPipeline in class Datasetpublic void close()
public long getRecordCount()
getRecordCount in class Datasetpublic long getColumnCount()
getColumnCount in class Datasetpublic List<String> getColumnNames()
getColumnNames in class Datasetprotected Column getOrCreateColumn(String name, int index)
getOrCreateColumn in class Datasetpublic List<Column> getColumns()
getColumns in class Datasetprotected void beforeLoad()
DatasetbeforeLoad in class Datasetprotected void afterLoad()
Datasetprotected DataWriter createDataWriter()
DatasetcreateDataWriter in class DatasetCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.