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.EntriesOrder, 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.Schema.EntriesOrder
naturalOrder()
Deprecated.Get the EntriesOrder defined with Builder.void
setEntries(Collection<Schema.Entry> entries)
Deprecated.Schema.Builder
toBuilder()
Deprecated.Get a Builder from the current schema.-
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, getEntriesOrdered, getEntriesOrdered, 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.
-
toBuilder
public Schema.Builder toBuilder()
Deprecated.Description copied from interface:Schema
Get a Builder from the current schema.- Specified by:
toBuilder
in interfaceSchema
- Returns:
- a
Schema.Builder
-
naturalOrder
public Schema.EntriesOrder naturalOrder()
Deprecated.Description copied from interface:Schema
Get the EntriesOrder defined with Builder.- Specified by:
naturalOrder
in interfaceSchema
- Returns:
- the EntriesOrder
-
-