Class Schema.Entry
- java.lang.Object
-
- org.talend.sdk.component.api.service.schema.Schema.Entry
-
- All Implemented Interfaces:
Schema.Entry
- Enclosing class:
- Schema
@Deprecated public static class Schema.Entry extends Object implements Schema.Entry
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.talend.sdk.component.api.record.Schema.Entry
Schema.Entry.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getComment()
Deprecated.<T> T
getDefaultValue()
Deprecated.Schema
getElementSchema()
Deprecated.String
getOriginalFieldName()
Deprecated.String
getProp(String property)
Deprecated.Map<String,String>
getProps()
Deprecated.String
getRawName()
Deprecated.boolean
isMetadata()
Deprecated.boolean
isNullable()
Deprecated.void
setType(Type type)
Deprecated.Schema.Entry.Builder
toBuilder()
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.Entry
getJsonProp, getName, getType
-
-
-
-
Method Detail
-
getRawName
public String getRawName()
Deprecated.- Specified by:
getRawName
in interfaceSchema.Entry
- Returns:
- The raw name of this entry.
-
getOriginalFieldName
public String getOriginalFieldName()
Deprecated.- Specified by:
getOriginalFieldName
in interfaceSchema.Entry
- Returns:
- the raw name of this entry if exists, else return name.
-
isNullable
public boolean isNullable()
Deprecated.- Specified by:
isNullable
in interfaceSchema.Entry
- Returns:
- Is this entry nullable or always valued.
-
isMetadata
public boolean isMetadata()
Deprecated.- Specified by:
isMetadata
in interfaceSchema.Entry
- Returns:
- true if this entry is for metadata; false for ordinary data.
-
getDefaultValue
public <T> T getDefaultValue()
Deprecated.- Specified by:
getDefaultValue
in interfaceSchema.Entry
- Type Parameters:
T
- the default value type.- Returns:
- Default value for this entry.
-
getElementSchema
public Schema getElementSchema()
Deprecated.- Specified by:
getElementSchema
in interfaceSchema.Entry
- Returns:
- For type == record, the element type.
-
getComment
public String getComment()
Deprecated.- Specified by:
getComment
in interfaceSchema.Entry
- Returns:
- Allows to associate to this field a comment - for doc purposes, no use in the runtime.
-
getProps
public Map<String,String> getProps()
Deprecated.- Specified by:
getProps
in interfaceSchema.Entry
- Returns:
- the metadata props
-
getProp
public String getProp(String property)
Deprecated.- Specified by:
getProp
in interfaceSchema.Entry
- Parameters:
property
- : property name.- Returns:
- the requested metadata prop
-
toBuilder
public Schema.Entry.Builder toBuilder()
Deprecated.- Specified by:
toBuilder
in interfaceSchema.Entry
- Returns:
- an
Schema.Entry.Builder
from this entry.
-
-