public final class Dialect extends SqllrObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Dialect.Builder
Collects the members of a new
Dialect. |
SqllrObject.Reader<T>| Modifier and Type | Field and Description |
|---|---|
static List<String> |
MEMBERS
The members the schema defines, in schema order.
|
static SqllrObject.Reader<Dialect> |
READER
Reads a JSON object as a
Dialect. |
static List<String> |
REQUIRED
The members the schema requires.
|
| Modifier and Type | Method and Description |
|---|---|
static Dialect.Builder |
builder() |
static Dialect |
fromJson(Object json)
A
Dialect with the members of a JSON object, all kept. |
Map<String,Extension> |
getExtensions()
The member
extensions. |
String |
getId()
The member
id. |
String |
getVersion()
The member
version. |
Dialect.Builder |
toBuilder()
A builder holding every member of this object.
|
public static final SqllrObject.Reader<Dialect> READER
Dialect.public static Dialect fromJson(Object json)
Dialect with the members of a JSON object, all kept.public static Dialect.Builder builder()
public Dialect.Builder toBuilder()
public String getId()
id. A dialect id of the identifier-rule data of the declared dependency
snapshot, such as oracle or sqlserver. Null when absent; throws IllegalStateException when
the member holds another JSON type.public String getVersion()
version. The dialect or server version the analysis assumed, when it
matters. Null when absent; throws IllegalStateException when the member holds another JSON
type.public Map<String,Extension> getExtensions()
extensions. Extension data keyed by namespace. Every core object may carry
it; it never takes part in a core identity. Null when absent; throws IllegalStateException
when the member holds another JSON type.