Class StreamInfo

  • All Implemented Interfaces:
    Cloneable

    public class StreamInfo
    extends Object
    implements Cloneable
    Represents information about a stream in a StreamBase Server. Instances of this class should be retrieved from a Snapshot.
    See Also:
    Snapshot
    • Method Detail

      • getStreamProperties

        public StreamProperties getStreamProperties()
        Returns the StreamProperties of the stream
        Returns:
        the StreamProperties of the stream
      • getNumTuples

        public long getNumTuples()
        Return the total number of tuples on the stream since the stream was created
        Returns:
        the total number of tuples on the stream since the stream was created
      • getDeltaTuples

        public long getDeltaTuples()
        Return the number of tuples since the last snapshot
        Returns:
        the number of tuples since the last snapshot
      • toString

        public String toString()
        Returns a string representation of the StreamInfo object.
        Overrides:
        toString in class Object
        Returns:
        a string representation of the object.