api

Geostreams

object Geostreams extends ApiController

Geostreaming endpoints. A geostream is a time and geospatial referenced sequence of datapoints.

Linear Supertypes
ApiController, Controller, Rendering, RequestExtractors, AcceptExtractors, ContentTypes, HeaderNames, play.api.http.Status, HttpProtocol, BodyParsers, Results, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Geostreams
  2. ApiController
  3. Controller
  4. Rendering
  5. RequestExtractors
  6. AcceptExtractors
  7. ContentTypes
  8. HeaderNames
  9. Status
  10. HttpProtocol
  11. BodyParsers
  12. Results
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class BinHelper(depth: Double, label: String, extras: JsObject, timeInfo: JsObject, doubles: ListBuffer[Double] = ..., array: HashSet[String] = ..., strings: HashSet[String] = ..., sources: HashSet[String] = ...) extends Product with Serializable

  2. case class Header(key: String, value: Either[String, ListBuffer[Header]]) extends Product with Serializable

    Class to hold a json key, and any subkeys

  3. class Status extends SimpleResult

    Definition Classes
    Results

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val ACCEPT: String

    Definition Classes
    HeaderNames
  7. val ACCEPTED: Int

    Definition Classes
    Status
  8. val ACCEPT_CHARSET: String

    Definition Classes
    HeaderNames
  9. val ACCEPT_ENCODING: String

    Definition Classes
    HeaderNames
  10. val ACCEPT_LANGUAGE: String

    Definition Classes
    HeaderNames
  11. val ACCEPT_RANGES: String

    Definition Classes
    HeaderNames
  12. val ACCESS_CONTROL_ALLOW_CREDENTIALS: String

    Definition Classes
    HeaderNames
  13. val ACCESS_CONTROL_ALLOW_HEADERS: String

    Definition Classes
    HeaderNames
  14. val ACCESS_CONTROL_ALLOW_METHODS: String

    Definition Classes
    HeaderNames
  15. val ACCESS_CONTROL_ALLOW_ORIGIN: String

    Definition Classes
    HeaderNames
  16. val ACCESS_CONTROL_EXPOSE_HEADERS: String

    Definition Classes
    HeaderNames
  17. val ACCESS_CONTROL_MAX_AGE: String

    Definition Classes
    HeaderNames
  18. val ACCESS_CONTROL_REQUEST_HEADERS: String

    Definition Classes
    HeaderNames
  19. val ACCESS_CONTROL_REQUEST_METHOD: String

    Definition Classes
    HeaderNames
  20. val AGE: String

    Definition Classes
    HeaderNames
  21. val ALLOW: String

    Definition Classes
    HeaderNames
  22. val AUTHORIZATION: String

    Definition Classes
    HeaderNames
  23. val Accepted: Status

    Definition Classes
    Results
  24. def AuthenticatedAction: ActionBuilder[UserRequest]

    call code iff user is logged in

    call code iff user is logged in

    Definition Classes
    ApiController
  25. val BAD_GATEWAY: Int

    Definition Classes
    Status
  26. val BAD_REQUEST: Int

    Definition Classes
    Status
  27. val BINARY: String

    Definition Classes
    ContentTypes
  28. val BadGateway: Status

    Definition Classes
    Results
  29. val BadRequest: Status

    Definition Classes
    Results
  30. val CACHE_CONTROL: String

    Definition Classes
    HeaderNames
  31. val CHUNKED: String

    Definition Classes
    HttpProtocol
  32. val CONFLICT: Int

    Definition Classes
    Status
  33. val CONNECTION: String

    Definition Classes
    HeaderNames
  34. val CONTENT_DISPOSITION: String

    Definition Classes
    HeaderNames
  35. val CONTENT_ENCODING: String

    Definition Classes
    HeaderNames
  36. val CONTENT_LANGUAGE: String

    Definition Classes
    HeaderNames
  37. val CONTENT_LENGTH: String

    Definition Classes
    HeaderNames
  38. val CONTENT_LOCATION: String

    Definition Classes
    HeaderNames
  39. val CONTENT_MD5: String

    Definition Classes
    HeaderNames
  40. val CONTENT_RANGE: String

    Definition Classes
    HeaderNames
  41. val CONTENT_TRANSFER_ENCODING: String

    Definition Classes
    HeaderNames
  42. val CONTENT_TYPE: String

    Definition Classes
    HeaderNames
  43. val CONTINUE: Int

    Definition Classes
    Status
  44. val COOKIE: String

    Definition Classes
    HeaderNames
  45. val CREATED: Int

    Definition Classes
    Status
  46. def CSS(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  47. val Conflict: Status

    Definition Classes
    Results
  48. val Created: Status

    Definition Classes
    Results
  49. val DATE: String

    Definition Classes
    HeaderNames
  50. def DisabledAction: ActionBuilder[UserRequest]

    Disable a route without having to comment out the entry in the routes file.

    Disable a route without having to comment out the entry in the routes file. Useful for when we want to keep the code around but we don't want users to have access to it.

    Definition Classes
    ApiController
  51. val ETAG: String

    Definition Classes
    HeaderNames
  52. def EVENT_STREAM(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  53. val EXPECT: String

    Definition Classes
    HeaderNames
  54. val EXPECTATION_FAILED: Int

    Definition Classes
    Status
  55. val EXPIRES: String

    Definition Classes
    HeaderNames
  56. val EntityTooLarge: Status

    Definition Classes
    Results
  57. val ExpectationFailed: Status

    Definition Classes
    Results
  58. val FAILED_DEPENDENCY: Int

    Definition Classes
    Status
  59. val FORBIDDEN: Int

    Definition Classes
    Status
  60. def FORM(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  61. val FOUND: Int

    Definition Classes
    Status
  62. val FROM: String

    Definition Classes
    HeaderNames
  63. val FailedDependency: Status

    Definition Classes
    Results
  64. val Forbidden: Status

    Definition Classes
    Results
  65. def Found(url: String): SimpleResult

    Definition Classes
    Results
  66. val GATEWAY_TIMEOUT: Int

    Definition Classes
    Status
  67. val GONE: Int

    Definition Classes
    Status
  68. val GatewayTimeout: Status

    Definition Classes
    Results
  69. val Gone: Status

    Definition Classes
    Results
  70. val HOST: String

    Definition Classes
    HeaderNames
  71. def HTML(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  72. val HTTP_1_0: String

    Definition Classes
    HttpProtocol
  73. val HTTP_1_1: String

    Definition Classes
    HttpProtocol
  74. val HTTP_VERSION_NOT_SUPPORTED: Int

    Definition Classes
    Status
  75. val HttpVersionNotSupported: Status

    Definition Classes
    Results
  76. val IF_MATCH: String

    Definition Classes
    HeaderNames
  77. val IF_MODIFIED_SINCE: String

    Definition Classes
    HeaderNames
  78. val IF_NONE_MATCH: String

    Definition Classes
    HeaderNames
  79. val IF_RANGE: String

    Definition Classes
    HeaderNames
  80. val IF_UNMODIFIED_SINCE: String

    Definition Classes
    HeaderNames
  81. val INSUFFICIENT_STORAGE: Int

    Definition Classes
    Status
  82. val INTERNAL_SERVER_ERROR: Int

    Definition Classes
    Status
  83. val InsufficientStorage: Status

    Definition Classes
    Results
  84. val InternalServerError: Status

    Definition Classes
    Results
  85. def JAVASCRIPT(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  86. def JSON(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  87. val LAST_MODIFIED: String

    Definition Classes
    HeaderNames
  88. val LENGTH_REQUIRED: Int

    Definition Classes
    Status
  89. val LOCATION: String

    Definition Classes
    HeaderNames
  90. val LOCKED: Int

    Definition Classes
    Status
  91. val Locked: Status

    Definition Classes
    Results
  92. val MAX_FORWARDS: String

    Definition Classes
    HeaderNames
  93. val METHOD_NOT_ALLOWED: Int

    Definition Classes
    Status
  94. val MOVED_PERMANENTLY: Int

    Definition Classes
    Status
  95. val MULTIPLE_CHOICES: Int

    Definition Classes
    Status
  96. val MULTI_STATUS: Int

    Definition Classes
    Status
  97. val MethodNotAllowed: Status

    Definition Classes
    Results
  98. def MovedPermanently(url: String): SimpleResult

    Definition Classes
    Results
  99. val MultiStatus: Status

    Definition Classes
    Results
  100. val NON_AUTHORITATIVE_INFORMATION: Int

    Definition Classes
    Status
  101. val NOT_ACCEPTABLE: Int

    Definition Classes
    Status
  102. val NOT_FOUND: Int

    Definition Classes
    Status
  103. val NOT_IMPLEMENTED: Int

    Definition Classes
    Status
  104. val NOT_MODIFIED: Int

    Definition Classes
    Status
  105. val NO_CONTENT: Int

    Definition Classes
    Status
  106. val NoContent: SimpleResult

    Definition Classes
    Results
  107. val NonAuthoritativeInformation: Status

    Definition Classes
    Results
  108. val NotAcceptable: Status

    Definition Classes
    Results
  109. val NotFound: Status

    Definition Classes
    Results
  110. val NotImplemented: Status

    Definition Classes
    Results
  111. val NotModified: SimpleResult

    Definition Classes
    Results
  112. val OK: Int

    Definition Classes
    Status
  113. val ORIGIN: String

    Definition Classes
    HeaderNames
  114. val Ok: Status

    Definition Classes
    Results
  115. val PARTIAL_CONTENT: Int

    Definition Classes
    Status
  116. val PAYMENT_REQUIRED: Int

    Definition Classes
    Status
  117. val PRAGMA: String

    Definition Classes
    HeaderNames
  118. val PRECONDITION_FAILED: Int

    Definition Classes
    Status
  119. val PROXY_AUTHENTICATE: String

    Definition Classes
    HeaderNames
  120. val PROXY_AUTHENTICATION_REQUIRED: Int

    Definition Classes
    Status
  121. val PROXY_AUTHORIZATION: String

    Definition Classes
    HeaderNames
  122. val PartialContent: Status

    Definition Classes
    Results
  123. def PermissionAction(permission: Permission, resourceRef: Option[ResourceRef] = None, affectedResource: Option[ResourceRef] = None): ActionBuilder[UserRequest]

    call code iff user has right permission for resource

    call code iff user has right permission for resource

    Definition Classes
    ApiController
  124. val PreconditionFailed: Status

    Definition Classes
    Results
  125. def PrivateServerAction: ActionBuilder[UserRequest]

    Use when you want to require the user to be logged in on a private server or the server is public.

    Use when you want to require the user to be logged in on a private server or the server is public.

    Definition Classes
    ApiController
  126. val RANGE: String

    Definition Classes
    HeaderNames
  127. val REFERER: String

    Definition Classes
    HeaderNames
  128. val REQUESTED_RANGE_NOT_SATISFIABLE: Int

    Definition Classes
    Status
  129. val REQUEST_ENTITY_TOO_LARGE: Int

    Definition Classes
    Status
  130. val REQUEST_TIMEOUT: Int

    Definition Classes
    Status
  131. val REQUEST_URI_TOO_LONG: Int

    Definition Classes
    Status
  132. val RESET_CONTENT: Int

    Definition Classes
    Status
  133. val RETRY_AFTER: String

    Definition Classes
    HeaderNames
  134. def Redirect(call: Call): SimpleResult

    Definition Classes
    Results
  135. def Redirect(url: String, queryString: Map[String, Seq[String]], status: Int): SimpleResult

    Definition Classes
    Results
  136. def Redirect(url: String, status: Int): SimpleResult

    Definition Classes
    Results
  137. val RequestTimeout: Status

    Definition Classes
    Results
  138. val ResetContent: SimpleResult

    Definition Classes
    Results
  139. val SEE_OTHER: Int

    Definition Classes
    Status
  140. val SERVER: String

    Definition Classes
    HeaderNames
  141. val SERVICE_UNAVAILABLE: Int

    Definition Classes
    Status
  142. val SET_COOKIE: String

    Definition Classes
    HeaderNames
  143. val SET_COOKIE2: String

    Definition Classes
    HeaderNames
  144. val SWITCHING_PROTOCOLS: Int

    Definition Classes
    Status
  145. def SeeOther(url: String): SimpleResult

    Definition Classes
    Results
  146. def ServerAdminAction: ActionBuilder[UserRequest]

    call code iff user is a server admin

    call code iff user is a server admin

    Definition Classes
    ApiController
  147. val ServiceUnavailable: Status

    Definition Classes
    Results
  148. def Status(code: Int): Status

    Definition Classes
    Results
  149. val TE: String

    Definition Classes
    HeaderNames
  150. val TEMPORARY_REDIRECT: Int

    Definition Classes
    Status
  151. def TEXT(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  152. val TODO: Action[AnyContent]

    Definition Classes
    Controller
  153. val TOO_MANY_REQUEST: Int

    Definition Classes
    Status
  154. val TRAILER: String

    Definition Classes
    HeaderNames
  155. val TRANSFER_ENCODING: String

    Definition Classes
    HeaderNames
  156. def TemporaryRedirect(url: String): SimpleResult

    Definition Classes
    Results
  157. val TooManyRequest: Status

    Definition Classes
    Results
  158. val UNAUTHORIZED: Int

    Definition Classes
    Status
  159. val UNPROCESSABLE_ENTITY: Int

    Definition Classes
    Status
  160. val UNSUPPORTED_MEDIA_TYPE: Int

    Definition Classes
    Status
  161. val UPGRADE: String

    Definition Classes
    HeaderNames
  162. val USER_AGENT: String

    Definition Classes
    HeaderNames
  163. val USE_PROXY: Int

    Definition Classes
    Status
  164. val Unauthorized: Status

    Definition Classes
    Results
  165. val UnprocessableEntity: Status

    Definition Classes
    Results
  166. val UnsupportedMediaType: Status

    Definition Classes
    Results
  167. val UriTooLong: Status

    Definition Classes
    Results
  168. def UserAction(needActive: Boolean): ActionBuilder[UserRequest]

    get user if logged in

    get user if logged in

    Definition Classes
    ApiController
  169. val VARY: String

    Definition Classes
    HeaderNames
  170. val VIA: String

    Definition Classes
    HeaderNames
  171. val WARNING: String

    Definition Classes
    HeaderNames
  172. val WWW_AUTHENTICATE: String

    Definition Classes
    HeaderNames
  173. def XML(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  174. val X_FORWARDED_FOR: String

    Definition Classes
    HeaderNames
  175. val X_FORWARDED_HOST: String

    Definition Classes
    HeaderNames
  176. val X_FORWARDED_PORT: String

    Definition Classes
    HeaderNames
  177. val X_FORWARDED_PROTO: String

    Definition Classes
    HeaderNames
  178. def addDatapoint(invalidateCache: Boolean): Action[JsValue]

  179. def addDatapoints(invalidateCache: Boolean): Action[JsValue]

  180. def addHeaders(row: JsArray, headers: ListBuffer[Header], ignore: Array[String], prefix: String, prefixSeperator: String, hidePrefix: Boolean, fixGeometry: Boolean): Unit

    Helper function to create list of headers

  181. def addHeaders(row: JsObject, headers: ListBuffer[Header], ignore: Array[String], prefix: String, prefixSeperator: String, hidePrefix: Boolean, fixGeometry: Boolean): Unit

    Helper function to create list of headers

  182. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  183. def binData(data: PeekIterator[JsObject], time: String, depth: Double, keepRaw: Boolean): Option[JsObject]

    Compute the average value for a sensor.

    Compute the average value for a sensor. This will return a single sensor with the average values for that sensor. The next object is waiting in the peekIterator.

    data

    list of data for all sensors

    returns

    a single JsObject which is the average for that sensor

  184. def binDatapoints(time: String, depth: Double, keepRaw: Boolean, since: Option[String], until: Option[String], geocode: Option[String], stream_id: Option[String], sensor_id: Option[String], sources: List[String], attributes: List[String]): Action[AnyContent]

  185. def cacheFetch(description: JsObject): Option[Enumerator[Array[Byte]]]

    Checks to see if a file with the MD5(description) exists, if so this will return a Enumerator of that file, otherwise it will return None.

  186. def cacheFetchAction(filename: String): Action[AnyContent]

    Return the file with the given name.

  187. def cacheInvalidate(sensor_id: Option[String] = None, stream_id: Option[String] = None): (Array[String], Array[String])

    Removes all files from the cache, or the files associated with either sensor_id or stream_id as query parameters.

    Removes all files from the cache, or the files associated with either sensor_id or stream_id as query parameters. Specifying sensor_id and stream_id will only remove caching where both are present

  188. def cacheInvalidate(description: JsObject): Unit

    Remove the file with the MD5(description) from the cache as well as the associated json file.

  189. def cacheInvalidateAction(sensor_id: Option[String] = None, stream_id: Option[String] = None): Action[AnyContent]

    Removes all files from the cache

  190. def cacheListAction(): Action[AnyContent]

    Return a list of all files and their descriptions in the cache.

  191. def cacheWrite(description: JsObject, data: Enumerator[String]): Enumerator[String]

    Write the file to cache, filename in cache is based on MD5(description).

    Write the file to cache, filename in cache is based on MD5(description). A second file with the same name but with extension .json is saved that will hold teh actual description.

    description

    json object describing the contents of the file.

    data

    the actual data that should be saved

    returns

    an enumerator that will save data as data is being enumerated.

  192. def calculate(operator: String, data: Iterator[JsObject], window_start: Option[String], window_end: Option[String], semiGroup: Boolean, binning: String): Iterator[JsObject]

  193. def chunk(trailers: Option[Iteratee[Array[Byte], Seq[(String, String)]]]): Enumeratee[Array[Byte], Array[Byte]]

    Definition Classes
    Results
  194. def chunk: Enumeratee[Array[Byte], Array[Byte]]

    Definition Classes
    Results
  195. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  196. def computeAverage(data: PeekIterator[JsObject]): Option[JsObject]

    Compute the average value for a sensor.

    Compute the average value for a sensor. This will return a single sensor with the average values for that sensor. The next object is waiting in the peekIterator.

    data

    list of data for all sensors

    returns

    a single JsObject which is the average for that sensor

  197. def computeAverageArea(data: List[JsObject], geocode: Option[String]): List[JsObject]

    Compute the average values over an area.

    Compute the average values over an area. This will return a single object that contains the average data for a point, as well as an array of values for all data that is not a number.

    data

    list of sensors inside the area

    geocode

    the actual area definition

    returns

    an array with a single sensor that has the average values.

  198. def computeCountSensor(data: List[JsObject]): List[JsObject]

    Compute the number of times a specific property is found in the data.

    Compute the number of times a specific property is found in the data.

    data

    list of sensors found

    returns

    list of sensors where properties show the number of times a specific property has been seen for that sensor.

  199. def computeTrends(data: PeekIterator[JsObject], since: DateTime, until: DateTime, semiGroup: Boolean, binning: String): Option[JsObject]

    Compute the average value for each sensor.

    Compute the average value for each sensor. This will an object per sensor that contains the average data for a point, as well as an array of values for all data that is not a number.

    data

    list of data for all sensors

    returns

    an array with a all sensors and the average values.

  200. def counts(): Action[AnyContent]

  201. def createSensor(): Action[JsValue]

  202. def createStream(): Action[JsValue]

  203. implicit val datapoints: Reads[(String, Option[String], String, List[Double], JsValue, String)]

  204. implicit val datapointsBulk: Reads[(String, Option[String], String, JsValue, JsValue)]

  205. implicit val datapointsGeoJSON: Reads[(String, Option[String], String, JsValue, JsValue, String)]

  206. def dechunk: Enumeratee[Array[Byte], Array[Byte]]

    Definition Classes
    Results
  207. def deleteAll(): Action[AnyContent]

  208. def deleteDatapoint(id: String): Action[AnyContent]

  209. def deleteSensor(id: String): Action[AnyContent]

  210. def deleteStream(id: String): Action[AnyContent]

  211. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  213. def filterDataBySemi(obj: JsObject, semi: Option[String]): Boolean

  214. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  215. implicit def flash(implicit request: RequestHeader): Flash

    Definition Classes
    Controller
  216. def formatResult(data: Iterator[JsObject], format: String): Enumerator[String]

  217. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  218. def getConfig: Action[AnyContent]

  219. def getDatapoint(id: String): Action[AnyContent]

  220. def getHeader(key: Any, prefix: String, prefixSeperator: String, hidePrefix: Boolean, fixGeometry: Boolean): String

    Helper function to create the text that is printed as header

  221. def getPrefix(key: Any, prefix: String, prefixSeperator: String): String

    Helper function to create a new prefix based on the key, and current prefix

  222. def getSensor(id: String): Action[AnyContent]

  223. def getSensorStatistics(id: String): Action[AnyContent]

  224. def getSensorStreams(id: String): Action[AnyContent]

  225. def getStream(id: String): Action[AnyContent]

  226. def getUser[A](request: Request[A]): UserRequest[A]

    Return user based on request object

    Return user based on request object

    Definition Classes
    ApiController
  227. def hashCode(): Int

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

    Definition Classes
    Any
  229. def jsonToCSV(data: Iterator[JsObject]): Enumerator[String]

    Returns the JSON formatted as CSV.

    Returns the JSON formatted as CSV.

    This will take the first json element and create a header from this. All additional rows will be parsed based on this first header. Any fields not in the first row, will not be outputed.

    data

    the json to be converted to CSV.

    returns

    Enumarator[String]

  230. def jsonp(data: Enumerator[String], request: Request[Any]): SimpleResult

    Tries to transform a response into a JavaScript expression.

    Tries to transform a response into a JavaScript expression.

    data

    Result to transform

    request

    request made to server

  231. def jsonp(data: JsValue, request: Request[Any]): SimpleResult

    Returns the request potentially as jsonp

    Returns the request potentially as jsonp

    data

    Result to transform

    request

    request made to server

  232. def jsonp(data: String, request: Request[Any]): SimpleResult

    Returns the request potentially as jsonp

    Returns the request potentially as jsonp

    data

    Result to transform

    request

    request made to server

  233. implicit def lang(implicit request: RequestHeader): Lang

    Definition Classes
    Controller
  234. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  235. final def notify(): Unit

    Definition Classes
    AnyRef
  236. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  237. object parse

    Definition Classes
    BodyParsers
  238. def patchStreamMetadata(id: String): Action[JsValue]

  239. val pluginNotEnabled: SimpleResult

  240. def printHeader(headers: ListBuffer[Header]): String

    Helper function to recursively print the header

  241. def printRow(row: JsArray, headers: ListBuffer[Header], prefix: String, prefixSeperator: String): String

    Helper function to print data row of JSON Array.

  242. def printRow(row: JsObject, headers: ListBuffer[Header], prefix: String, prefixSeperator: String): String

    Helper function to print data row of JSON Object.

  243. def searchDatapoints(operator: String, since: Option[String], until: Option[String], geocode: Option[String], stream_id: Option[String], sensor_id: Option[String], sources: List[String], attributes: List[String], format: String, semi: Option[String], onlyCount: Boolean, window_start: Option[String] = None, window_end: Option[String] = None, binning: String, geojson: Option[String]): Action[AnyContent]

  244. def searchSensors(geocode: Option[String], sensor_name: Option[String], geojson: Option[String]): Action[AnyContent]

  245. def searchStreams(geocode: Option[String], stream_name: Option[String], geojson: Option[String]): Action[AnyContent]

  246. implicit val sensors: Reads[(String, String, List[Double], JsValue)]

  247. implicit val sensorsGeoJSON: Reads[(String, String, JsValue, JsValue)]

  248. implicit def session(implicit request: RequestHeader): Session

    Definition Classes
    Controller
  249. implicit val streams: Reads[(String, String, List[Double], JsValue, String)]

  250. implicit val streamsGeoJSON: Reads[(String, String, JsValue, JsValue, String)]

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

    Definition Classes
    AnyRef
  252. def timeBins(time: String, startTime: DateTime, endTime: DateTime): Map[String, JsObject]

  253. def toString(): String

    Definition Classes
    AnyRef → Any
  254. def updateSensorMetadata(id: String): Action[JsValue]

  255. def updateStatisticsSensor(id: String): Action[AnyContent]

  256. def updateStatisticsStream(id: String): Action[AnyContent]

  257. def updateStatisticsStreamSensor(): Action[AnyContent]

  258. val userservice: UserService

    Definition Classes
    ApiController
  259. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  262. def withCharset(mimeType: String)(implicit codec: Codec): String

    Definition Classes
    ContentTypes

Deprecated Value Members

  1. def Async(promise: Future[Result]): AsyncResult

    Definition Classes
    Results
    Annotations
    @deprecated
    Deprecated

    (Since version 2.2.0) Use Action.async to build async actions instead

Inherited from ApiController

Inherited from Controller

Inherited from Rendering

Inherited from RequestExtractors

Inherited from AcceptExtractors

Inherited from ContentTypes

Inherited from HeaderNames

Inherited from play.api.http.Status

Inherited from HttpProtocol

Inherited from BodyParsers

Inherited from Results

Inherited from AnyRef

Inherited from Any

Ungrouped