class
PostgresPlugin extends Plugin
Instance Constructors
-
new
PostgresPlugin(application: Application)
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
addDatapoint(start: Date, end: Option[Date], geoType: String, data: String, geojson: JsValue, stream_id: String): Option[String]
-
def
addDatapoints(datapoints: List[(String, Option[String], String, JsValue, JsValue)], stream_id: String): Option[String]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
var
conn: Connection
-
def
connect(): Unit
-
def
counts(): (Int, Int, Int)
-
def
createSensor(name: String, geoType: String, geojson: JsValue, metadata: String): Option[String]
-
def
createStream(name: String, geotype: String, geojson: JsValue, metadata: String, sensor_id: String): Option[String]
-
def
deleteDatapoint(gid: Integer): Boolean
-
def
deleteSensor(id: Integer): Boolean
-
def
deleteStream(id: Integer): Boolean
-
def
dropAll(): Boolean
-
lazy val
enabled: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
filterProperties(obj: JsObject, attributes: List[String]): JsObject
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
getDashboardSensorURLs(ids: List[String]): List[(String, String)]
-
def
getDatapoint(id: String): Option[String]
-
def
getSensor(id: String): Option[String]
-
def
getSensorStats(id: String): Option[String]
-
def
getSensorStreams(id: String): Option[String]
-
def
getStream(id: String): Option[String]
-
def
hashCode(): Int
-
def
isEnabled(): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
listSensors(): Unit
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
onStart(): Unit
-
def
onStop(): Unit
-
def
patchStreamMetadata(id: String, data: String): Option[String]
-
def
searchDatapoints(since: Option[String], until: Option[String], geocode: Option[String], stream_id: Option[String], sensor_id: Option[String], source: List[String], attributes: List[String], sortByStation: Boolean): Iterator[JsObject]
-
def
searchDatapointsGeoJson(since: Option[String], until: Option[String], geojson: Option[String], stream_id: Option[String], sensor_id: Option[String], source: List[String], attributes: List[String], sortByStation: Boolean): Iterator[JsObject]
-
def
searchSensors(geocode: Option[String], sensor_name: Option[String]): Option[String]
-
def
searchSensorsGeoJson(geojson: Option[String], sensor_name: Option[String]): Option[String]
-
def
searchStreams(geocode: Option[String], stream_name: Option[String]): Option[String]
-
def
searchStreamsGeoJson(geojson: Option[String], stream_name: Option[String]): Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
test(): Unit
-
def
toString(): String
-
def
updateDatabase(): Unit
-
def
updateEmptyStats(): Unit
-
def
updateSensorGeometry(id: String, geom: String): Option[String]
-
def
updateSensorMetadata(id: String, data: String): Option[String]
-
def
updateSensorStats(sensor_id: Option[String]): Unit
-
def
updateStreamStats(stream_id: Option[String]): Unit
-
def
verifyConnection(retry: Boolean = true): Boolean
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from Plugin
Inherited from AnyRef
Inherited from Any
Postgres connection and simple geoindex methods.