Class GeoJSONResolver.GeoJSONRelation

java.lang.Object
nz.org.riskscape.engine.relation.BaseRelation
nz.org.riskscape.engine.defaults.data.GeoJSONResolver.GeoJSONRelation
All Implemented Interfaces:
AutoCloseable, nz.org.riskscape.engine.data.SelfDescribingScalarData, nz.org.riskscape.engine.pipeline.Realized, nz.org.riskscape.engine.relation.Relation
Enclosing class:
GeoJSONResolver

public static class GeoJSONResolver.GeoJSONRelation extends nz.org.riskscape.engine.relation.BaseRelation
  • Nested Class Summary

    Nested classes/interfaces inherited from class nz.org.riskscape.engine.relation.BaseRelation

    nz.org.riskscape.engine.relation.BaseRelation.Fields, nz.org.riskscape.engine.relation.BaseRelation.Transformer
  • Field Summary

    Fields inherited from class nz.org.riskscape.engine.relation.BaseRelation

    skipOnInvalid, transformers
  • Constructor Summary

    Constructors
    Constructor
    Description
    GeoJSONRelation(nz.org.riskscape.engine.relation.BaseRelation.Fields fields, org.geotools.feature.FeatureCollection featureCollection, String sourceInformation)
     
    GeoJSONRelation(nz.org.riskscape.engine.types.Struct type, org.geotools.feature.FeatureCollection featureCollection, String sourceInformation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected nz.org.riskscape.engine.relation.BaseRelation
    clone(nz.org.riskscape.engine.relation.BaseRelation.Fields fields)
     
     
    protected nz.org.riskscape.engine.relation.TupleIterator
     
     

    Methods inherited from class nz.org.riskscape.engine.relation.BaseRelation

    cloneWithProjectionIfSupported, cloneWithRestrictionIfSupported, cloneWithTransformer, getLimit, getOffset, getProducedType, getRawType, getSpatialMetadata, hasSkipOnInvalid, iterator, limitAndOffset, project, restrict, skipInvalid, skipOrThrow, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface nz.org.riskscape.engine.pipeline.Realized

    close

    Methods inherited from interface nz.org.riskscape.engine.relation.Relation

    calculateBounds, getScalarDataType, getType, limit, offset, stream, toTupleInput
  • Constructor Details

    • GeoJSONRelation

      public GeoJSONRelation(nz.org.riskscape.engine.relation.BaseRelation.Fields fields, org.geotools.feature.FeatureCollection featureCollection, String sourceInformation)
    • GeoJSONRelation

      public GeoJSONRelation(nz.org.riskscape.engine.types.Struct type, org.geotools.feature.FeatureCollection featureCollection, String sourceInformation)
  • Method Details

    • rawIterator

      protected nz.org.riskscape.engine.relation.TupleIterator rawIterator()
      Specified by:
      rawIterator in class nz.org.riskscape.engine.relation.BaseRelation
    • clone

      protected nz.org.riskscape.engine.relation.BaseRelation clone(nz.org.riskscape.engine.relation.BaseRelation.Fields fields)
      Specified by:
      clone in class nz.org.riskscape.engine.relation.BaseRelation
    • size

      public Optional<Long> size()
    • getSourceInformation

      public String getSourceInformation()