Class GmfDataLookupBySite

java.lang.Object
nz.org.riskscape.oq.gmf.GmfDataLookupBySite
All Implemented Interfaces:
nz.org.riskscape.engine.data.SelfDescribingScalarData, nz.org.riskscape.engine.lookup.LookupTable

public class GmfDataLookupBySite extends Object implements nz.org.riskscape.engine.lookup.LookupTable

A simple lookup table that takes a site-ID and returns all the shaking data associated with it, in Tuple form. GmfDataBySiteIdList is where the real magic happens.

  • Constructor Details

    • GmfDataLookupBySite

      public GmfDataLookupBySite(SitecolGmfDataIndex index, nz.org.riskscape.hdf5.H5Dataset gmfDataset)
  • Method Details

    • lookup

      public Object lookup(Object key)
      Specified by:
      lookup in interface nz.org.riskscape.engine.lookup.LookupTable
    • getKeyType

      public nz.org.riskscape.engine.types.Type getKeyType()
      Specified by:
      getKeyType in interface nz.org.riskscape.engine.lookup.LookupTable
    • getValueType

      public nz.org.riskscape.engine.types.Type getValueType()
      Specified by:
      getValueType in interface nz.org.riskscape.engine.lookup.LookupTable