@Validated
@Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
date="2022-09-21T05:34:26.783Z[Etc/UTC]")
public class SchemaField
extends java.lang.Object
| Constructor and Description |
|---|
SchemaField() |
| Modifier and Type | Method and Description |
|---|---|
SchemaField |
created(AuditStamp created) |
SchemaField |
description(java.lang.String description) |
boolean |
equals(java.lang.Object o) |
SchemaField |
fieldPath(java.lang.String fieldPath) |
@Valid AuditStamp |
getCreated()
Get created
|
java.lang.String |
getDescription()
Description
|
@NotNull java.lang.String |
getFieldPath()
Flattened name of the field.
|
@Valid GlobalTags |
getGlobalTags()
Get globalTags
|
@Valid GlossaryTerms |
getGlossaryTerms()
Get glossaryTerms
|
java.lang.String |
getJsonPath()
Flattened name of a field in JSON Path notation.
|
java.lang.String |
getJsonProps()
For schema fields that have other properties that are not modeled explicitly, use this field to serialize those properties into a JSON string
|
java.lang.String |
getLabel()
Label of the field.
|
@Valid AuditStamp |
getLastModified()
Get lastModified
|
@NotNull java.lang.String |
getNativeDataType()
The native type of the field in the dataset's platform as declared by platform schema.
|
@NotNull @Valid SchemaFieldDataType |
getType()
Get type
|
SchemaField |
globalTags(GlobalTags globalTags) |
SchemaField |
glossaryTerms(GlossaryTerms glossaryTerms) |
int |
hashCode() |
java.lang.Boolean |
isIsPartitioningKey()
For Datasets which are partitioned, this determines the partitioning key.
|
@NotNull java.lang.Boolean |
isIsPartOfKey()
For schema fields that are part of complex keys, set this field to true We do this to easily distinguish between value and key fields
|
@NotNull java.lang.Boolean |
isNullable()
Indicates if this field is optional or nullable
|
SchemaField |
isPartitioningKey(java.lang.Boolean isPartitioningKey) |
SchemaField |
isPartOfKey(java.lang.Boolean isPartOfKey) |
@NotNull java.lang.Boolean |
isRecursive()
There are use cases when a field in type B references type A.
|
SchemaField |
jsonPath(java.lang.String jsonPath) |
SchemaField |
jsonProps(java.lang.String jsonProps) |
SchemaField |
label(java.lang.String label) |
SchemaField |
lastModified(AuditStamp lastModified) |
SchemaField |
nativeDataType(java.lang.String nativeDataType) |
SchemaField |
nullable(java.lang.Boolean nullable) |
SchemaField |
recursive(java.lang.Boolean recursive) |
void |
setCreated(AuditStamp created) |
void |
setDescription(java.lang.String description) |
void |
setFieldPath(java.lang.String fieldPath) |
void |
setGlobalTags(GlobalTags globalTags) |
void |
setGlossaryTerms(GlossaryTerms glossaryTerms) |
void |
setIsPartitioningKey(java.lang.Boolean isPartitioningKey) |
void |
setIsPartOfKey(java.lang.Boolean isPartOfKey) |
void |
setJsonPath(java.lang.String jsonPath) |
void |
setJsonProps(java.lang.String jsonProps) |
void |
setLabel(java.lang.String label) |
void |
setLastModified(AuditStamp lastModified) |
void |
setNativeDataType(java.lang.String nativeDataType) |
void |
setNullable(java.lang.Boolean nullable) |
void |
setRecursive(java.lang.Boolean recursive) |
void |
setType(SchemaFieldDataType type) |
java.lang.String |
toString() |
SchemaField |
type(SchemaFieldDataType type) |
public SchemaField fieldPath(java.lang.String fieldPath)
@NotNull public @NotNull java.lang.String getFieldPath()
public void setFieldPath(java.lang.String fieldPath)
public SchemaField jsonPath(java.lang.String jsonPath)
public java.lang.String getJsonPath()
public void setJsonPath(java.lang.String jsonPath)
public SchemaField nullable(java.lang.Boolean nullable)
@NotNull public @NotNull java.lang.Boolean isNullable()
public void setNullable(java.lang.Boolean nullable)
public SchemaField description(java.lang.String description)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public SchemaField label(java.lang.String label)
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public SchemaField created(AuditStamp created)
@Valid public @Valid AuditStamp getCreated()
public void setCreated(AuditStamp created)
public SchemaField lastModified(AuditStamp lastModified)
@Valid public @Valid AuditStamp getLastModified()
public void setLastModified(AuditStamp lastModified)
public SchemaField type(SchemaFieldDataType type)
@NotNull @Valid public @NotNull @Valid SchemaFieldDataType getType()
public void setType(SchemaFieldDataType type)
public SchemaField nativeDataType(java.lang.String nativeDataType)
@NotNull public @NotNull java.lang.String getNativeDataType()
public void setNativeDataType(java.lang.String nativeDataType)
public SchemaField recursive(java.lang.Boolean recursive)
@NotNull public @NotNull java.lang.Boolean isRecursive()
public void setRecursive(java.lang.Boolean recursive)
public SchemaField globalTags(GlobalTags globalTags)
@Valid public @Valid GlobalTags getGlobalTags()
public void setGlobalTags(GlobalTags globalTags)
public SchemaField glossaryTerms(GlossaryTerms glossaryTerms)
@Valid public @Valid GlossaryTerms getGlossaryTerms()
public void setGlossaryTerms(GlossaryTerms glossaryTerms)
public SchemaField isPartOfKey(java.lang.Boolean isPartOfKey)
@NotNull public @NotNull java.lang.Boolean isIsPartOfKey()
public void setIsPartOfKey(java.lang.Boolean isPartOfKey)
public SchemaField isPartitioningKey(java.lang.Boolean isPartitioningKey)
public java.lang.Boolean isIsPartitioningKey()
public void setIsPartitioningKey(java.lang.Boolean isPartitioningKey)
public SchemaField jsonProps(java.lang.String jsonProps)
public java.lang.String getJsonProps()
public void setJsonProps(java.lang.String jsonProps)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object