Class IndexDefinitionsJsonWriter


  • public class IndexDefinitionsJsonWriter
    extends Object
    Writes index definitions in a JSON format that can be consumed by the oak-run tool.
    See Also:
    Oak-Run indexing
    • Constructor Detail

      • IndexDefinitionsJsonWriter

        public IndexDefinitionsJsonWriter​(@NotNull
                                          @NotNull IndexDefinitions indexDefinitions)
    • Method Detail

      • writeAsJson

        public void writeAsJson​(@NotNull
                                @NotNull OutputStream out)
        Writes the index definitions to the specified out
        Parameters:
        out - the output stream to write to