Interface MongoDbGridFSIO.ParserCallback<T>

  • All Superinterfaces:
    java.io.Serializable
    Enclosing class:
    MongoDbGridFSIO

    public static interface MongoDbGridFSIO.ParserCallback<T>
    extends java.io.Serializable
    Callback for the parser to use to submit data.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void output​(T output)
      Output the object.
      void output​(T output, org.joda.time.Instant timestamp)
      Output the object using the specified timestamp.
    • Method Detail

      • output

        void output​(T output)
        Output the object. The default timestamp will be the GridFSDBFile creation timestamp.
      • output

        void output​(T output,
                    org.joda.time.Instant timestamp)
        Output the object using the specified timestamp.