The layout of the statistics file is documented here: https://jena.apache.org/documentation/tdb/optimizer.html#statistics-rule-file
tdbloader and tdbloader2 are the CLI utilities for building TDB databases, but they are written in Java and can be used in Java. https://jena.apache.org/documentation/tdb/commands.html#tdbloader --- A. Soroka The University of Virginia Library > On Jan 9, 2017, at 2:36 PM, Ganesh Selvaraj <gsel...@aucklanduni.ac.nz> wrote: > > Hi All, > > I am using Jena TDB for my work. So far I could not find much documentation > on data indexing and statistics building for Jena TDB. > > I would prefer doing it via a Java API. > > Any help/documentation is appreciated. > > Thanks > Ganesh