public final class MetadataArtifact extends SqllrObject
| Modifier and Type | Class and Description |
|---|---|
static class |
MetadataArtifact.Builder
Collects the members of a new
MetadataArtifact. |
SqllrObject.Reader<T>| Modifier and Type | Field and Description |
|---|---|
static List<String> |
MEMBERS
The members the schema defines, in schema order.
|
static SqllrObject.Reader<MetadataArtifact> |
READER
Reads a JSON object as a
MetadataArtifact. |
static List<String> |
REQUIRED
The members the schema requires.
|
| Modifier and Type | Method and Description |
|---|---|
static MetadataArtifact.Builder |
builder() |
static MetadataArtifact |
fromJson(Object json)
A
MetadataArtifact with the members of a JSON object, all kept. |
String |
getFormat()
The member
format. |
String |
getSha256()
The member
sha256. |
MetadataArtifact.Builder |
toBuilder()
A builder holding every member of this object.
|
public static final SqllrObject.Reader<MetadataArtifact> READER
MetadataArtifact.public static MetadataArtifact fromJson(Object json)
MetadataArtifact with the members of a JSON object, all kept.public static MetadataArtifact.Builder builder()
public MetadataArtifact.Builder toBuilder()
public String getFormat()
format. The format id of the artifact, declared by the caller or the
producer, such as a media type or a versioned catalog export format. The same bytes under
another format id are other metadata. Null when absent; throws IllegalStateException when the
member holds another JSON type.