Package | Description |
---|---|
com.zementis.adapa.models.api |
Interfaces and Classes for management of models and processing data.
|
com.zementis.adapa.models.batch |
Utility classes for processing data from CSV files in a batch mode.
|
com.zementis.adapa.models.batch.parallel |
Utility classes for processing data from CSV files using concurrent threads.
|
Modifier and Type | Interface and Description |
---|---|
interface |
OutputRecord
Extension of the
Record interface containing execution information, such as model used and error/warning
messages. |
Modifier and Type | Class and Description |
---|---|
class |
HashMapOutputRecord
Hash map based implementation of
OutputRecord . |
class |
HashMapRecord
|
Modifier and Type | Method and Description |
---|---|
OutputRecord |
ModelsServiceProvider.applyModel(String modelName,
Record inputRecord)
Apply a model to a record and return an output record using the default
ApplySettings . |
OutputRecord |
ModelsServiceProvider.applyModel(String modelName,
Record inputRecord,
ApplySettings applySettings)
Apply a model to a record and return an output record with the provided
ApplySettings . |
InputStream |
ModelsServiceProvider.explainApplyModel(String modelName,
Record inputRecord)
Apply a model to a record and return the execution trace.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RecordIterator<R extends Record>
Extend a
CloseableIterator of Record 's with a method to list the names the fields in the produced
records. |
Modifier and Type | Method and Description |
---|---|
static <R extends Record> |
CSVHelper.createWriteIterator(Iterator<R> inputIterator,
List<String> fieldNames,
String groupFieldName,
OutputStream os) |
Modifier and Type | Method and Description |
---|---|
static RecordIterator<Record> |
CSVHelper.createReadIterator(InputStream inputStream,
String groupFieldName) |
static RecordIterator<Record> |
CSVHelper.createReadIterator(InputStream inputStream,
String groupFieldName,
Map<String,String> columnAliasesMap) |
Modifier and Type | Method and Description |
---|---|
static Set<OutputRecord> |
BatchApply.applyModels(ModelsServiceProvider modelsServiceProvider,
Set<String> modelNames,
Record inputRecord,
ApplySettings applySettings)
Apply a set of models to a record.
|
Modifier and Type | Method and Description |
---|---|
static CloseableIterator<OutputRecord> |
BatchApply.applyModel(ModelsServiceProvider modelsServiceProvider,
String modelName,
CloseableIterator<? extends Record> inputRecordIterator,
ApplySettings applySettings)
Apply a model to several records, provided through an iterator.
|
static CloseableIterator<Set<OutputRecord>> |
BatchApply.applyModels(ModelsServiceProvider modelsServiceProvider,
Set<String> modelNames,
CloseableIterator<? extends Record> inputRecordIterator,
ApplySettings applySettings)
Apply a set of models to several records, provided through an iterator.
|
Modifier and Type | Method and Description |
---|---|
static CloseableIterator<OutputRecord> |
ParallelBatchApply.applyModel(ModelsServiceProvider modelsServiceProvider,
String modelName,
Iterator<? extends Record> inputRecordIterator,
ApplySettings applySettings,
ExecutorService executorService)
Apply a model to several records, provided through an iterator.
|
static CloseableIterator<Set<OutputRecord>> |
ParallelBatchApply.applyModels(ModelsServiceProvider modelsServiceProvider,
Set<String> modelNames,
Iterator<? extends Record> inputRecordIterator,
ApplySettings applySettings,
ExecutorService executorService)
Apply a set of models to several records, provided through an iterator.
|
Copyright © 2005–2016 Zementis, Inc.. All rights reserved.