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 class
Schema.Entry
Deprecated.-
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.Schema
getElementSchema()
Deprecated.List<Schema.Entry>
getMetadata()
Deprecated.String
getProp(String property)
Deprecated.Map<String,String>
getProps()
Deprecated.Schema.Type
getType()
Deprecated.void
setEntries(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:
getMetadata
in 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:
getElementSchema
in interfaceSchema
- Returns:
- the nested element schema for arrays.
-
getAllEntries
public Stream<Schema.Entry> getAllEntries()
Deprecated.- Specified by:
getAllEntries
in interfaceSchema
- Returns:
- All entries, including data and metadata, of this schema.
-
-