Class Schema
- java.lang.Object
-
- org.talend.sdk.component.api.service.schema.Schema
-
- All Implemented Interfaces:
Schema
@Deprecated public class Schema extends Object implements Schema
Deprecated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchema.EntryDeprecated.-
Nested classes/interfaces inherited from interface org.talend.sdk.component.api.record.Schema
Schema.Builder, Schema.Type
-
-
Constructor Summary
Constructors Constructor Description Schema(Collection<Schema.Entry> entries)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stream<Schema.Entry>getAllEntries()Deprecated.SchemagetElementSchema()Deprecated.List<Schema.Entry>getMetadata()Deprecated.StringgetProp(String property)Deprecated.Map<String,String>getProps()Deprecated.Schema.TypegetType()Deprecated.voidsetEntries(Collection<Schema.Entry> entries)Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.talend.sdk.component.api.record.Schema
getEntries, getEntry, getJsonProp
-
-
-
-
Constructor Detail
-
Schema
public Schema(Collection<Schema.Entry> entries)
Deprecated.
-
-
Method Detail
-
setEntries
public void setEntries(Collection<Schema.Entry> entries)
Deprecated.
-
getMetadata
public List<Schema.Entry> getMetadata()
Deprecated.- Specified by:
getMetadatain interfaceSchema- Returns:
- the metadata entries for records (not contains ordinary data entries).
-
getType
public Schema.Type getType()
Deprecated.
-
getElementSchema
public Schema getElementSchema()
Deprecated.- Specified by:
getElementSchemain interfaceSchema- Returns:
- the nested element schema for arrays.
-
getAllEntries
public Stream<Schema.Entry> getAllEntries()
Deprecated.- Specified by:
getAllEntriesin interfaceSchema- Returns:
- All entries, including data and metadata, of this schema.
-
-