public class DataFrameLoader extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,DataFrameColumn> |
createColumns(DataFrameMeta dataFrameMeta)
Creates the columns from a data frame meta information
|
static DataFrame |
load(File file)
Loads a data frame from a file.
|
static DataFrame |
load(File file,
File metaFile)
Loads a data frame from a file and the corresponding meta file.
|
static DataFrame |
load(File file,
File metaFile,
FilterPredicate filterPredicate)
Loads a data frame from a file and the corresponding meta file.
|
static DataFrame |
load(File file,
FilterPredicate filterPredicate)
Loads a data frame from a file.
|
static DataFrame |
loadResource(String path,
String metaPath,
ClassLoader classLoader)
Loads a data frame from a resource and the corresponding meta resource.
|
static DataFrame |
loadResource(String path,
String metaPath,
ClassLoader classLoader,
FilterPredicate filterPredicate)
Loads a data frame from a resource and the corresponding meta resource.
|
public static DataFrame load(File file, FilterPredicate filterPredicate) throws DataFrameException
file+'.dfm'file - data frame filefilterPredicate - row filterDataFrameException - thrown if the data frame can not be loadedpublic static DataFrame load(File file) throws DataFrameException
file+'.dfm'file - data frame fileDataFrameException - thrown if the data frame can not be loadedpublic static DataFrame load(File file, File metaFile, FilterPredicate filterPredicate) throws DataFrameException
file - data frame filemetaFile - data frame meta filefilterPredicate - row filterDataFrameException - thrown if the data frame can not be loadedpublic static DataFrame load(File file, File metaFile) throws DataFrameException
file - data frame filemetaFile - data frame meta fileDataFrameException - thrown if the data frame can not be loadedpublic static DataFrame loadResource(String path, String metaPath, ClassLoader classLoader, FilterPredicate filterPredicate) throws DataFrameException
path - path to data frame resourcemetaPath - path to meta file resoureclassLoader - class loader for the resourcefilterPredicate - row filterDataFrameException - thrown if the data frame can not be loadedpublic static DataFrame loadResource(String path, String metaPath, ClassLoader classLoader) throws DataFrameException
path - path to data frame resourcemetaPath - path to meta file resoureclassLoader - class loader for the resourceDataFrameException - thrown if the data frame can not be loadedpublic static Map<String,DataFrameColumn> createColumns(DataFrameMeta dataFrameMeta) throws DataFrameException
dataFrameMeta - meta informationDataFrameException - thrown if the columns can not be createdCopyright © 2017. All rights reserved.