Class Stats


  • public class Stats
    extends java.lang.Object
    Encapsulates functionality related to internal TileDB statistics.

    Example:

    
     // Enable stats, submit a query, then dump to stdout.
     Stats.enable();
     query.submit();
     Stats.dump();
     
    • Constructor Summary

      Constructors 
      Constructor Description
      Stats()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void disable()
      Disables internal TileDB statistics gathering.
      static void dump()
      Dump all statistics counters to stdout.
      static void dump​(java.lang.String filename)
      Dump all statistics counters to a file
      static void enable()
      Enables internal TileDB statistics gathering.
      static void reset()
      Reset all internal statistics counters.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Stats

        public Stats()
    • Method Detail

      • enable

        public static void enable()
                           throws TileDBError
        Enables internal TileDB statistics gathering.
        Throws:
        TileDBError - A TileDB exception
      • disable

        public static void disable()
                            throws TileDBError
        Disables internal TileDB statistics gathering.
        Throws:
        TileDBError - A TileDB exception
      • reset

        public static void reset()
                          throws TileDBError
        Reset all internal statistics counters.
        Throws:
        TileDBError - A TileDB exception
      • dump

        public static void dump​(java.lang.String filename)
                         throws TileDBError
        Dump all statistics counters to a file
        Parameters:
        filename - A path string
        Throws:
        TileDBError - A TileDB exception
      • dump

        public static void dump()
                         throws TileDBError
        Dump all statistics counters to stdout.
        Throws:
        TileDBError - A TileDB exception