Package

com.github.fsanaulla.chronicler.core

model

Permalink

package model

Visibility
  1. Public
  2. All

Type Members

  1. final class AuthorizationException extends InfluxException

    Permalink
  2. final class BadRequestException extends InfluxException

    Permalink
  3. final case class BigDecimalField(key: String, value: BigDecimal) extends InfluxField with Product with scala.Serializable

    Permalink
  4. final case class BooleanField(key: String, value: Boolean) extends InfluxField with Product with scala.Serializable

    Permalink
  5. final case class CharField(key: String, value: Char) extends InfluxField with Product with scala.Serializable

    Permalink
  6. final class ConnectionException extends InfluxException

    Permalink
  7. final case class ContinuousQuery(cqName: String, query: String) extends Product with scala.Serializable

    Permalink
  8. final case class ContinuousQueryInfo(dbName: String, querys: Array[ContinuousQuery]) extends Product with scala.Serializable

    Permalink
  9. final class DeserializationException extends InfluxException

    Permalink
  10. final case class DoubleField(key: String, value: Double) extends InfluxField with Product with scala.Serializable

    Permalink
  11. trait Executable extends AnyRef

    Permalink

    Trait for mixin execution context

  12. final case class FieldInfo(fieldName: String, fieldType: String) extends Product with scala.Serializable

    Permalink
  13. final case class GroupedResult[A](code: Int, isSuccess: Boolean, groupedResult: Array[(Array[String], A)], ex: Option[Throwable] = None) extends ReadResult[A] with Product with scala.Serializable

    Permalink

    Entity to represent grouped result response

    Entity to represent grouped result response

    A

    - which entity should be retrieveed from query result

    code

    - HTTP response code

    isSuccess

    - is it complete successfully

    groupedResult

    - array of group by results

    ex

    - exception if exist

  14. trait HasCredentials extends AnyRef

    Permalink

    Define functionality for using credentials in the context

  15. trait ImplicitRequestBuilder[Uri, Request] extends AnyRef

    Permalink

    Request entity builder from uri parameter, in case of simply read reqeust to Influx

    Request entity builder from uri parameter, in case of simply read reqeust to Influx

    Uri

    - Http request uri type

    Request

    - Http request type projection

  16. final case class InfluxConfig(host: String, port: Int, credentials: Option[InfluxCredentials], gzipped: Boolean) extends Product with scala.Serializable

    Permalink

    Configuration file for simplify cooperation with influx

  17. final case class InfluxCredentials(username: String, password: String) extends Product with scala.Serializable

    Permalink

    Created by Author: [email protected] Date: 16.08.17

  18. sealed abstract class InfluxException extends Throwable

    Permalink

    Created by Author: [email protected] Date: 31.07.17

  19. sealed trait InfluxField extends AnyRef

    Permalink
  20. trait InfluxFormatter[T] extends InfluxReader[T] with InfluxWriter[T]

    Permalink
    Annotations
    @implicitNotFound( ... )
  21. trait InfluxReader[T] extends AnyRef

    Permalink

    When trying deserialize JSON from influx, don't forget that influx sort field in db alphabetically.

    When trying deserialize JSON from influx, don't forget that influx sort field in db alphabetically.

    Annotations
    @implicitNotFound( ... )
  22. sealed trait InfluxResult extends AnyRef

    Permalink

    Entity that represent result types

  23. final case class InfluxTag(key: String, value: String) extends Product with scala.Serializable

    Permalink

    Created by Author: [email protected] Date: 05.08.17

  24. trait InfluxWriter[T] extends AnyRef

    Permalink

    Return string must be in following format <measurement>,[<tag-key>=<tag-value>...] [<field-key>=<field-value>,<field2-key>=<field2-value>...] [unix-nano-timestamp] Look on official documentation [https://docs.influxdata.com/influxdb/v1.2/write_protocols/line_protocol_reference/]

    Return string must be in following format <measurement>,[<tag-key>=<tag-value>...] [<field-key>=<field-value>,<field2-key>=<field2-value>...] [unix-nano-timestamp] Look on official documentation [https://docs.influxdata.com/influxdb/v1.2/write_protocols/line_protocol_reference/]

    Annotations
    @implicitNotFound( ... )
  25. final case class IntField(key: String, value: Int) extends InfluxField with Product with scala.Serializable

    Permalink
  26. final class InternalServerError extends InfluxException

    Permalink
  27. final case class LongField(key: String, value: Long) extends InfluxField with Product with scala.Serializable

    Permalink
  28. trait Mappable[M[_], R] extends AnyRef

    Permalink

    Mixing mapper to context

  29. final class OperationException extends InfluxException

    Permalink
  30. final case class Point(measurement: String, tags: List[InfluxTag] = Nil, fields: List[InfluxField] = Nil, time: Long = 1L) extends Product with scala.Serializable

    Permalink
  31. final case class QueryInfo(queryId: Int, query: String, dbName: String, duration: String) extends Product with scala.Serializable

    Permalink
  32. final case class QueryResult[A](code: Int, isSuccess: Boolean, queryResult: Array[A], ex: Option[Throwable] = None) extends ReadResult[A] with Product with scala.Serializable

    Permalink

    Entity to represent query result response

    Entity to represent query result response

    A

    - which entity should be retrieved from query request

    code

    - HTTP response code

    isSuccess

    - is it complete successfully

    queryResult

    - array of queried results

    ex

    - optional exception

  33. sealed trait ReadResult[A] extends InfluxResult

    Permalink

    Root object of read result AST

  34. final class ResourceNotFoundException extends InfluxException

    Permalink
  35. final case class RetentionPolicyInfo(name: String, duration: String, shardGroupDuration: String, replication: Int, default: Boolean) extends Product with scala.Serializable

    Permalink
  36. trait Serializable[To] extends AnyRef

    Permalink
  37. trait Serializer[From, To] extends AnyRef

    Permalink

    Entity transformer

  38. final case class Shard(id: Int, dbName: String, rpName: String, shardGroup: Int, startTime: String, endTime: String, expiryTime: String, owners: String) extends Product with scala.Serializable

    Permalink
  39. final case class ShardGroup(id: Int, dbName: String, rpName: String, startTime: String, endTime: String, expiryTime: String) extends Product with scala.Serializable

    Permalink
  40. final case class ShardGroupsInfo(shardGroupName: String, seq: Seq[ShardGroup]) extends Product with scala.Serializable

    Permalink
  41. final case class ShardInfo(dbName: String, shards: Array[Shard]) extends Product with scala.Serializable

    Permalink
  42. final case class StringField(key: String, value: String) extends InfluxField with Product with scala.Serializable

    Permalink
  43. final case class Subscription(rpName: String, subsName: String, destType: Destination, addresses: Seq[String]) extends Product with scala.Serializable

    Permalink
  44. final case class SubscriptionInfo(dbName: String, subscriptions: Array[Subscription]) extends Product with scala.Serializable

    Permalink
  45. final case class TagValue(tag: String, value: String) extends Product with scala.Serializable

    Permalink
  46. final case class UdpConnection(address: InetAddress, port: Int) extends Product with scala.Serializable

    Permalink

    Created by Author: [email protected] Date: 27.08.17

  47. final class UnknownConnectionException extends InfluxException

    Permalink
  48. final class UnknownResponseException extends InfluxException

    Permalink
  49. final case class UserInfo(username: String, isAdmin: Boolean) extends Product with scala.Serializable

    Permalink

    Created by Author: [email protected] Date: 19.08.17

  50. final case class UserPrivilegesInfo(database: String, privilege: Privilege) extends Product with scala.Serializable

    Permalink
  51. final case class WriteResult(code: Int, isSuccess: Boolean, ex: Option[Throwable] = None) extends InfluxResult with Product with scala.Serializable

    Permalink

    Entity to resresent non-query result

    Entity to resresent non-query result

    code

    - HTTP response code

    isSuccess

    - is it complete successfully

    ex

    - optional exception

Value Members

  1. object GroupedResult extends scala.Serializable

    Permalink
  2. object QueryResult extends scala.Serializable

    Permalink
  3. object WriteResult extends scala.Serializable

    Permalink

Ungrouped