Class SchemaAnnotationsAccess
java.lang.Object
com.darkcollective.relix.semantic.internal.SchemaAnnotationsAccess
How the analyser records a node's schema in a
SchemaAnnotations.
SchemaAnnotations is published and a caller only reads it, so its writer is
not public there. The analyser lives in this package, so the published class hands its
writer over when it loads and the analyser writes through here. The jar does not
export this package, so the writer stays the engine's.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceRecordsschemaasnode's schema inannotations. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidCalled once, bySchemaAnnotationsas it loads.static voidput(SchemaAnnotations annotations, RelNode node, Schema schema) Recordsschemaasnode's schema.
-
Method Details
-
install
Called once, bySchemaAnnotationsas it loads.- Parameters:
w- the writer
-
put
Recordsschemaasnode's schema.- Parameters:
annotations- the annotations to write into; loading its class installed the writernode- the nodeschema- its schema
-