Class MetadataType<T>

java.lang.Object
velox.api.layer1.dynamichistory.metadata.MetadataType<T>
Type Parameters:
T - type of the value returned by getMetadata when this token is used
Direct Known Subclasses:
MetadataType.FirstEventTimeType

public abstract sealed class MetadataType<T> extends Object permits MetadataType.FirstEventTimeType
Selects which piece of metadata to request from getMetadata.

Pass one of the tokens returned by the static methods of this class to getMetadata; the type of value you get back is determined by the token you pass. For example:


 Optional&lt;FirstEventTime&gt; first = accessInterface.getMetadata(dataSource, instrumentInfo, MetadataType.firstEventTimeType());
 

Available metadata:

  • Field Details

    • type

      public final Class<T> type
      Type of the value returned by getMetadata for this token.
  • Method Details