public class StaticBulkObjectFactory extends Object implements BulkObjectFactory
Constructor and Description |
---|
StaticBulkObjectFactory() |
Modifier and Type | Method and Description |
---|---|
BulkObject |
createBulkObject(RowValues values)
Create a
BulkObject of the appropriate type from a row of values. |
String |
getBulkRowType(BulkObject bulkObject)
Returns the type string which corresponds to the type of
BulkObject provided |
public BulkObject createBulkObject(RowValues values)
BulkObjectFactory
BulkObject
of the appropriate type from a row of values.
Uses the "Type" column value to determine the type that it should returncreateBulkObject
in interface BulkObjectFactory
values
- a set of column datapublic String getBulkRowType(BulkObject bulkObject)
BulkObjectFactory
BulkObject
providedgetBulkRowType
in interface BulkObjectFactory
bulkObject
- object to determine type string forCopyright © 2024. All rights reserved.