你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SchemaType Class

public final class SchemaType
extends ExpandableStringEnum<SchemaType>

Defines values for SchemaType.

Field Summary

Modifier and Type Field and Description
static final SchemaType AVRO

Static value Avro for SchemaType.

static final SchemaType UNKNOWN

Static value Unknown for SchemaType.

Constructor Summary

Constructor Description
SchemaType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SchemaType value.

Method Summary

Modifier and Type Method and Description
static SchemaType fromString(String name)

Creates or finds a SchemaType from its string representation.

static Collection<SchemaType> values()

Gets known SchemaType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AVRO

public static final SchemaType AVRO

Static value Avro for SchemaType.

UNKNOWN

public static final SchemaType UNKNOWN

Static value Unknown for SchemaType.

Constructor Details

SchemaType

@Deprecated
public SchemaType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SchemaType value.

Method Details

fromString

public static SchemaType fromString(String name)

Creates or finds a SchemaType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SchemaType.

values

public static Collection values()

Gets known SchemaType values.

Returns:

known SchemaType values.

Applies to