public interface RecordFactory
IndexedRecord,
MappedRecord| Modifier and Type | Method and Description |
|---|---|
<E> IndexedRecord<E> |
createIndexedRecord(java.lang.String recordName)
Creates a IndexedRecord.
|
<K,V> MappedRecord<K,V> |
createMappedRecord(java.lang.String recordName)
Creates a MappedRecord.
|
<K,V> MappedRecord<K,V> createMappedRecord(java.lang.String recordName) throws ResourceException
recordName - Name of the RecordResourceException - Failed to create a MappedRecord.
Example error cases are:
NotSupportedException - Operation not supported<E> IndexedRecord<E> 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