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 StringgetComment()Deprecated.<T> TgetDefaultValue()Deprecated.SchemagetElementSchema()Deprecated.StringgetOriginalFieldName()Deprecated.StringgetProp(String property)Deprecated.Map<String,String>getProps()Deprecated.StringgetRawName()Deprecated.booleanisMetadata()Deprecated.booleanisNullable()Deprecated.voidsetType(Type type)Deprecated.Schema.Entry.BuildertoBuilder()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:
getRawNamein interfaceSchema.Entry- Returns:
- The raw name of this entry.
-
getOriginalFieldName
public String getOriginalFieldName()
Deprecated.- Specified by:
getOriginalFieldNamein interfaceSchema.Entry- Returns:
- the raw name of this entry if exists, else return name.
-
isNullable
public boolean isNullable()
Deprecated.- Specified by:
isNullablein interfaceSchema.Entry- Returns:
- Is this entry nullable or always valued.
-
isMetadata
public boolean isMetadata()
Deprecated.- Specified by:
isMetadatain interfaceSchema.Entry- Returns:
- true if this entry is for metadata; false for ordinary data.
-
getDefaultValue
public <T> T getDefaultValue()
Deprecated.- Specified by:
getDefaultValuein interfaceSchema.Entry- Type Parameters:
T- the default value type.- Returns:
- Default value for this entry.
-
getElementSchema
public Schema getElementSchema()
Deprecated.- Specified by:
getElementSchemain interfaceSchema.Entry- Returns:
- For type == record, the element type.
-
getComment
public String getComment()
Deprecated.- Specified by:
getCommentin 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:
getPropsin interfaceSchema.Entry- Returns:
- the metadata props
-
getProp
public String getProp(String property)
Deprecated.- Specified by:
getPropin interfaceSchema.Entry- Parameters:
property- : property name.- Returns:
- the requested metadata prop
-
toBuilder
public Schema.Entry.Builder toBuilder()
Deprecated.- Specified by:
toBuilderin interfaceSchema.Entry- Returns:
- an
Schema.Entry.Builderfrom this entry.
-
-