uCosminexus Stream Data Platform - Application Framework Application Development Guide

[Contents][Index][Back][Next]

7.9 StreamTime class (common API)

Class hierarchy

 
java.lang.Object
  |-java.util.Date
      |-jp.co.Hitachi.soft.sdp.common.util.StreamTime

Explanation

The StreamTime class is an expansion of the Date class.

This class is used to process time information for a tuple.

Method

The following table shows the StreamTime class method list.

Return value Method name Function
boolean equals(StreamTime when) Determines if a tuple's own time matches the time indicated by the StreamTime type object specified in the parameter.
long getTimeMillis() Acquires the time (in milliseconds) from a tuple.
int hashCode() Acquires the hash code that indicates the tuple.
java.lang.String toString() Converts the time information in a tuple into a string and acquires it.

Notes

None.

Organization of this section
equals(StreamTime when) method
getTimeMillis() method
hashCode() method
toString() method