platdb

package platdb

Members list

Concise view

Type members

Classlikes

trait BList extends Iterable

A list of strings

A list of strings

Attributes

Graph
Supertypes
trait Iterable
class Object
trait Matchable
class Any
trait BSet extends Iterable

BSet represents a set of string elements on disk, where the elements are unique and can be traversed in dictionary order.

BSet represents a set of string elements on disk, where the elements are unique and can be traversed in dictionary order.

Attributes

Graph
Supertypes
trait Iterable
class Object
trait Matchable
class Any
trait Bucket extends Iterable

Bucket represents an ordered (lexicographic) set of key-value pairs.

Bucket represents an ordered (lexicographic) set of key-value pairs.

Attributes

Graph
Supertypes
trait Iterable
class Object
trait Matchable
class Any
object Collection

some collection methods with transaction parameter.

some collection methods with transaction parameter.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object DB

The DB object contains some default constant information as well as exception information.

The DB object contains some default constant information as well as exception information.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
DB.type
class DB(val path: String)(using ops: Options)

DB represents a database object consisting of several buckets, each of which is a collection of key-value pairs (nested buckets are supported). All operations performed by users on buckets are performed in transactions.

DB represents a database object consisting of several buckets, each of which is a collection of key-value pairs (nested buckets are supported). All operations performed by users on buckets are performed in transactions.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
trait Iterable

Platdb iterable object.

Platdb iterable object.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait BList
trait BSet
trait Bucket
trait JsonSupport extends SprayJsonSupport with DefaultJsonProtocol

Attributes

Graph
Supertypes
trait DefaultJsonProtocol
trait AdditionalFormats
trait ProductFormats
trait ProductFormatsInstances
trait CollectionFormats
trait StandardFormats
trait BasicFormats
trait SprayJsonSupport
class Object
trait Matchable
class Any
Known subtypes
class Server
case class Options(timeout: Int, bufSize: Int, readonly: Boolean, fillPercent: Double, tmpDir: String)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object PlatDB

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PlatDB.type
case class Rectangle(min: Array[Double], max: Array[Double])

A spatial rectangle used to describe the boundary range of a spatial object.

A spatial rectangle used to describe the boundary range of a spatial object.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
trait Region

spatial index

spatial index

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
object Server

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Server.type
class Server extends JsonSupport

Attributes

Companion:
object
Graph
Supertypes
trait DefaultJsonProtocol
trait AdditionalFormats
trait ProductFormats
trait ProductFormatsInstances
trait CollectionFormats
trait StandardFormats
trait BasicFormats
trait SprayJsonSupport
class Object
trait Matchable
class Any
case class ServerOptions(path: String, conf: Options, host: String, port: Int, logLevel: String)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class SpatialObject(coord: Rectangle, key: String, data: String, isPoint: Boolean)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

platdb transaction.

platdb transaction.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
final class main

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def centreDistFunc(obj1: SpatialObject, obj2: SpatialObject): Double

Attributes

Concrete fields

var prevHeader: Option[BlockHeader]

Givens

Givens

Attributes

Default DB configuration.

Default DB configuration.

Attributes

Extensions

Extensions

extension (arr: ArrayBuffer[NodeElement])
def indexFunc(func: NodeElement => Boolean): Int
extension (arr: ArrayBuffer[Entry])
def size: Int

Implicits

Implicits

implicit val ec: ExecutionContext