public final class SchemaMetadata extends Iced
Modifier and Type | Class and Description |
---|---|
static class |
SchemaMetadata.FieldMetadata |
Modifier and Type | Field and Description |
---|---|
java.util.List<SchemaMetadata.FieldMetadata> |
fields |
java.lang.String |
markdown |
java.lang.String |
name |
java.lang.String |
superclass |
java.lang.String |
type |
int |
version |
Constructor and Description |
---|
SchemaMetadata() |
SchemaMetadata(Schema schema) |
Modifier and Type | Method and Description |
---|---|
static SchemaMetadata |
createSchemaMetadata(java.lang.String classname) |
static java.util.List<SchemaMetadata.FieldMetadata> |
getFieldMetadata(Schema schema)
Returns metadata of all annotated fields.
|
static java.lang.String[] |
getValues(java.lang.Class<? extends ValuesProvider> valuesProvider) |
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSON
public int version
public java.lang.String name
public java.lang.String superclass
public java.lang.String type
public java.util.List<SchemaMetadata.FieldMetadata> fields
public java.lang.String markdown
public SchemaMetadata()
public SchemaMetadata(Schema schema)
public static java.util.List<SchemaMetadata.FieldMetadata> getFieldMetadata(Schema schema)
schema
- a schema instancepublic static SchemaMetadata createSchemaMetadata(java.lang.String classname) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static java.lang.String[] getValues(java.lang.Class<? extends ValuesProvider> valuesProvider)