Class

ksb.csle.component.reader

HttpWeatherClientReader

Related Doc: package reader

Permalink

class HttpWeatherClientReader extends BaseReader[InputDStream[String], StreamReaderInfo, SparkSession] with Logging

:: ApplicationDeveloperApi :: A receiver that receives responses from a weather server provided by Korea Meteorological Administration

Linear Supertypes
BaseReader[InputDStream[String], StreamReaderInfo, SparkSession], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpWeatherClientReader
  2. BaseReader
  3. BaseDoer
  4. Logging
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpWeatherClientReader(o: StreamReaderInfo)

    Permalink

    o

    Object that contains message [ksb.csle.common.proto.DatasourceProto.HttpWeatherClientInfo]] HttpWeatherClientInfo contains attributes as follows:

    • kbClientType: weather source type, weather data or storke index data (required)
    • location: target city to get the location of weather stations (required)
    • getKbServer: Ontology repository server url (optional)
    • serviceKey: session key to make a connection with data.go.kr (required)
    message HttpWeatherClientInfo {
    required KbClientType kbClientType = 1;
    enum KbClientType {
       WEATHER = 1;
       STROKEINDEX = 2;
     }
     required string location = 2 [default = "대전"];
     optional string geoKbServer = 3 [default = "http://localhost:9876"];
     required string serviceKey = 4;
    }

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val clientType: String

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close: Unit

    Permalink
    Definition Classes
    HttpWeatherClientReader → BaseReader
    Annotations
    @throws( classOf[Exception] )
  8. val config: KsbConfigurator

    Permalink
  9. val defaultServerIp: String

    Permalink
  10. val defaultServerPort: String

    Permalink
  11. val defaultServiceKey: String

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val kbServerUrl: String

    Permalink
  19. val location: String

    Permalink
  20. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. val o: StreamReaderInfo

    Permalink

    Object that contains message [ksb.csle.common.proto.DatasourceProto.HttpWeatherClientInfo]] HttpWeatherClientInfo contains attributes as follows:

    Object that contains message [ksb.csle.common.proto.DatasourceProto.HttpWeatherClientInfo]] HttpWeatherClientInfo contains attributes as follows:

    • kbClientType: weather source type, weather data or storke index data (required)
    • location: target city to get the location of weather stations (required)
    • getKbServer: Ontology repository server url (optional)
    • serviceKey: session key to make a connection with data.go.kr (required)
    message HttpWeatherClientInfo {
    required KbClientType kbClientType = 1;
    enum KbClientType {
       WEATHER = 1;
       STROKEINDEX = 2;
     }
     required string location = 2 [default = "대전"];
     optional string geoKbServer = 3 [default = "http://localhost:9876"];
     required string serviceKey = 4;
    }
  25. def read(session: SparkSession): InputDStream[String]

    Permalink
    Definition Classes
    HttpWeatherClientReader → BaseReader
    Annotations
    @throws( classOf[Exception] )
  26. val serviceKey: String

    Permalink
  27. var ssc: StreamingContext

    Permalink
  28. val strokeLocationQueryUrl: String

    Permalink
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. val weatherLocationQueryUrl: String

    Permalink

Inherited from BaseReader[InputDStream[String], StreamReaderInfo, SparkSession]

Inherited from BaseDoer

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped