|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.streams.publishers.RsStringRecordFactory<E>
E - the type of the serialised valuespublic class RsStringRecordFactory<E>
A RecordFactory for STRING_RECORDs with serialisations of Stream elements.
An untyped record is a record with a string-valued payload field.
| Field Summary | |
|---|---|
static gr.uoa.di.madgik.grs.record.RecordDefinition |
STRING_RECORD
The type definition of a record with a string-valued payload field. |
| Fields inherited from interface org.gcube.data.streams.publishers.RecordFactory |
|---|
iteration |
| Constructor Summary | |
|---|---|
RsStringRecordFactory(Generator<E,String> serialiser)
Creates an instance with a Generator that returns serialisations of Stream elements. |
|
| Method Summary | |
|---|---|
gr.uoa.di.madgik.grs.record.RecordDefinition[] |
definitions()
Returns the definitions of the records. |
gr.uoa.di.madgik.grs.record.GenericRecord |
newRecord(E element)
Generates a Record from a Stream element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final gr.uoa.di.madgik.grs.record.RecordDefinition STRING_RECORD
payload field.
| Constructor Detail |
|---|
public RsStringRecordFactory(Generator<E,String> serialiser)
Generator that returns serialisations of Stream elements.
serialiser - the serialiser| Method Detail |
|---|
public gr.uoa.di.madgik.grs.record.GenericRecord newRecord(E element)
RecordFactoryRecord from a Stream element.
newRecord in interface RecordFactory<E>element - the element
public gr.uoa.di.madgik.grs.record.RecordDefinition[] definitions()
RecordFactory
definitions in interface RecordFactory<E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||