Package org. partiql. lang. schemadiscovery
Types
Basic parser for ion data.
Normalizes decimal precisions (IonSchemaModel.Constraint.Precision) to an "upto" range. For exact precision p, returns an inclusive range from 1 to p. For a ranged precision with an inclusive max, returns an inclusive range from 1 to max.
This VisitorTransform normalizes IonSchemaModel.Constraint.AnyOf constraints that have the null type to use the nullable
annotation. E.g.
Infers a basic schema from a sequence of example data.
Implementation for SchemaInferencerFromExample. Requires a typeName for the generated schema's top level type name. Also requires an IonSchemaSystem and schemaIds to load additional schema types that will be used in the generated schema. The passed schemaIds will also be used for the generated IonSchemaModel.SchemaStatement.HeaderStatement's IonSchemaModel.ImportList.
Enum representing the core IonSchemaModel.TypeReference.NamedTypes along with their corresponding typeNames.