public interface RecordFactory
IndexedRecord
,
MappedRecord
Modifier and Type | Method and Description |
---|---|
IndexedRecord |
createIndexedRecord(java.lang.String recordName)
Creates a IndexedRecord.
|
MappedRecord |
createMappedRecord(java.lang.String recordName)
Creates a MappedRecord.
|
MappedRecord createMappedRecord(java.lang.String recordName) throws ResourceException
recordName
- Name of the RecordResourceException
- Failed to create a MappedRecord.
Example error cases are:
NotSupportedException
- Operation not supportedIndexedRecord createIndexedRecord(java.lang.String recordName) throws ResourceException
recordName
- Name of the RecordResourceException
- Failed to create an IndexedRecord.
Example error cases are:
NotSupportedException
- Operation not supported