quasar-web


License

License

Categories

Categories

Quasar Application Layer Libs Distributed Applications
GroupId

GroupId

org.quasar-analytics
ArtifactId

ArtifactId

quasar-web_2.11
Last Version

Last Version

28.1.6
Release Date

Release Date

Type

Type

jar
Description

Description

quasar-web
quasar-web
Project URL

Project URL

https://github.com/quasar-analytics/quasar
Project Organization

Project Organization

SlamData Inc.
Source Code Management

Source Code Management

https://github.com/quasar-analytics/quasar

Download quasar-web_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/org.quasar-analytics/quasar-web_2.11/ -->
<dependency>
    <groupId>org.quasar-analytics</groupId>
    <artifactId>quasar-web_2.11</artifactId>
    <version>28.1.6</version>
</dependency>
// https://jarcasting.com/artifacts/org.quasar-analytics/quasar-web_2.11/
implementation 'org.quasar-analytics:quasar-web_2.11:28.1.6'
// https://jarcasting.com/artifacts/org.quasar-analytics/quasar-web_2.11/
implementation ("org.quasar-analytics:quasar-web_2.11:28.1.6")
'org.quasar-analytics:quasar-web_2.11:jar:28.1.6'
<dependency org="org.quasar-analytics" name="quasar-web_2.11" rev="28.1.6">
  <artifact name="quasar-web_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.quasar-analytics', module='quasar-web_2.11', version='28.1.6')
)
libraryDependencies += "org.quasar-analytics" % "quasar-web_2.11" % "28.1.6"
[org.quasar-analytics/quasar-web_2.11 "28.1.6"]

Dependencies

compile (11)

Group / Artifact Type Version
org.typelevel : scala-library jar 2.11.8
org.quasar-analytics : quasar-interface-internal_2.11 jar 28.1.6
org.quasar-analytics : quasar-core-internal_2.11 jar 28.1.6
org.http4s : http4s-dsl_2.11 jar 0.16.6a
org.http4s : http4s-argonaut_2.11 jar 0.16.6a
org.http4s : http4s-client_2.11 jar 0.16.6a
org.http4s : http4s-server_2.11 jar 0.16.6a
org.http4s : http4s-blaze-server_2.11 jar 0.16.6a
org.http4s : http4s-blaze-client_2.11 jar 0.16.6a
org.scodec : scodec-scalaz_2.11 jar 1.3.0a
org.scodec : scodec-bits_2.11 jar 1.1.2

test (3)

Group / Artifact Type Version
com.propensive : rapture-json_2.11 jar 2.0.0-M9
com.propensive : rapture-json-json4s_2.11 jar 2.0.0-M9
eu.timepit : refined-scalacheck_2.11 jar 0.8.3

Project Modules

There are no modules declared in this project.

Quasar Discord

Quasar is a purely-functional compiler and optimizing planner for queries expressed in terms of the Multidimensional Relational Algebra (MRA). Quasar has support for arbitrary backends, both heavyweight (full evaluation engines) and lightweight (simple reads with optional pushdown of structural operations and columnar predicates), including full classpath isolation for lightweight backends.

It's important to note that Quasar is not, in and of itself, a runnable application. It is a library which is used by the broader Precog product, much of which is closed-source. Contributions are very much welcome, as is feedback, questions, and general conversation. Join the Discord!

Building and Testing

Quasar builds with SBT:

$ ./sbt
> test:compile
> test

If running on Windows, you may use the SBT batch file instead of the shell script.

Code Organization

Probably the most interesting part of the codebase is the optimizing query planner, which is implemented in the qsu submodule, based on data structures defined in qscript. I recommend starting by looking at the LPtoQS class, which defines a kleisli composition that clearly lays out all of the phases of the compiler. The core data structure used by the compiler is QSUGraph, which is a purely functional representation of a directed acyclic graph, which in turn represents data flow in a query.

The formulation of the query plan itself is a fixed-point data structure dictated by several pattern functors composed via coproducts. The primary such pattern functor is QScriptCore. You would generally deconstruct and interpret this query plan using general folds provided by matryoshka.

Query operations which are pushed down to the underlying data source are represented by ScalarStage, and carried via InterpretedRead. Data sources are always free to only implement a subset of the pushdown functionality.

The codebase makes extremely heavy use of Scalaz and Cats throughout (using shims to solve the impedance between them), and many high-level operations (such as datasets) are represented as fs2 streams.

Local Datasource

A Datasource implementation providing access to the filesystems local to the JVM.

Configuration for the local datasource has the following JSON format

{
  "rootDir": String,
  "format": {
    "type": "json",
    "variant": "array-wrapped" | "line-delimited",
    [precise: Boolean]
  },
  ["readChunkSizeBytes": Number,]
  ["compressionScheme": "gzip"]
}
  • rootDir an absolute path to a local directory at which to root the datasource, all paths handled by the datasource will be interpreted relative to this physical directory.
  • format the format of all resources in the datasource, currently JSON is supported in both array-wrapped and line-delimited variants.
  • readChunkSizeBytes (optional) an integer indicating the chunk size to use when reading local files, the default is 1048576 (1MB). Different values may yield higher throughput depending on the filesystem.
  • compressionScheme (optional) whether to expect resources to be compressed, currently gzip is the only supported compression scheme. Omitting this option indicates uncompressed resources.

Legal

Copyright © 2020 Precog Data

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

org.quasar-analytics

Quasar

An Apache 2-licensed analytics engine for semi-structured data.

Versions

Version
28.1.6
28.1.2
28.1.1
28.1.0
28.0.0
27.8.10
27.8.9
27.8.8
27.8.7
27.8.6
27.8.5
27.8.3
27.8.2
27.8.1
27.7.4
27.6.31
27.6.30
27.6.29
27.6.28
27.6.27
27.6.26
27.6.25
27.6.24
27.6.23
27.6.22
27.6.21
27.6.20
27.6.19
27.6.17
27.6.16
27.6.15
27.6.13
27.6.12
27.6.11
27.6.10
27.6.9
27.6.8
27.6.7
27.6.6
27.6.5
27.6.4
27.6.3
27.6.2
27.6.1
27.5.7
27.4.10
27.4.9
27.4.8
27.4.7
27.4.6
27.4.5
27.4.4
27.4.3
27.4.2
27.4.1
27.4.0
27.3.7
27.3.4
27.3.3
27.3.2
27.3.0
27.2.4
27.2.3
27.2.2
27.2.1
27.1.16
27.1.13
27.1.12
27.1.11
27.1.10
27.1.9
27.1.8
27.1.7
27.1.6
27.1.5
27.1.4
27.1.0
27.0.17
27.0.14
27.0.12
27.0.11
27.0.10
27.0.8
27.0.7
27.0.6
27.0.5
27.0.3
27.0.2
27.0.1
27.0.0
26.1.7
26.1.6
26.1.5
26.1.4
26.1.3
26.1.2
26.1.1
26.1.0
26.0.17
26.0.16
26.0.14
26.0.13
26.0.12
26.0.11
26.0.10
26.0.9
26.0.8
26.0.7
26.0.6
26.0.5
26.0.4
26.0.3
26.0.2
26.0.1
26.0.0
25.3.4
25.3.3
25.3.2
25.3.1
25.2.5
25.2.3
25.2.2
25.2.1
25.1.1
25.1.0
25.0.24
25.0.23
25.0.22
25.0.20
25.0.19
25.0.17
25.0.16
25.0.15
25.0.10
25.0.9
25.0.8
25.0.7
25.0.6
24.4.2
24.4.1
24.4.0
24.3.4
24.3.3
24.3.2
24.2.2
24.2.1
24.2.0
24.1.17
24.1.16
24.1.15
24.1.14
24.1.13
24.1.12
24.1.11
24.1.10
24.1.9
24.1.8
24.1.7
24.1.6
24.1.5
24.1.4
24.1.3
24.1.2
24.1.1
24.1.0
24.0.15
24.0.14
24.0.13
24.0.12
24.0.11
24.0.10
24.0.9
24.0.8
24.0.7
24.0.6
24.0.5
24.0.4
24.0.3
24.0.2
24.0.1
24.0.0
23.1.7
23.1.6
23.1.5
23.1.4
23.1.3
23.1.2
23.1.1
23.1.0
23.0.0
22.0.5
22.0.4
22.0.3
22.0.2
22.0.1
22.0.0
21.1.3
21.1.2
21.1.1
21.1.0
21.0.2
21.0.1
21.0.0
20.15.4
20.15.3
20.15.2
20.15.1
20.15.0
20.14.18
20.14.17
20.14.16
20.14.15
20.14.14
20.14.13
20.14.12
20.14.11
20.14.10
20.14.9
20.14.8
20.14.7
20.14.6
20.14.5
20.14.4
20.14.3
20.13.7
20.13.6
20.13.5
20.13.4
20.13.3
20.13.2
20.13.1
20.13.0
20.12.0
20.11.3
20.11.2
20.11.1
20.11.0
20.10.0
20.9.2
20.9.1
20.9.0
20.8.0
20.7.0
20.6.2
20.6.1
20.6.0
20.5.0
20.4.0
20.3.0
20.2.2
20.2.1
20.2.0
20.1.2
20.1.1
20.1.0
20.0.4
20.0.3
20.0.2
20.0.1
20.0.0
19.5.1
19.5.0
19.4.7
19.4.6
19.4.5
19.4.4
19.4.3
19.4.2
19.4.1
19.4.0
19.3.1
19.3.0
19.2.3
19.2.2
19.2.1
19.2.0
19.1.2
19.1.1
19.1.0
19.0.2
19.0.1
19.0.0
18.9.5
18.9.4
18.9.3
18.9.2
18.9.1
18.9.0
18.8.7
18.8.6
18.8.5
18.8.4
18.8.3
18.8.2
18.8.1
18.8.0
18.7.7
18.7.6
18.7.5
18.7.4
18.7.3
18.7.2
18.7.1
18.7.0
18.6.3
18.6.2
18.6.1
18.6.0
18.5.18
18.5.17
18.5.16
18.5.15
18.5.14
18.5.13
18.5.12
18.5.10
18.5.9
18.5.8
18.5.7
18.5.6
18.5.5
18.5.4
18.5.0
18.4.1
18.4.0
18.3.8
18.3.7
18.3.6
18.3.5
18.3.4
18.3.3
18.3.2
18.3.1
18.3.0
18.2.2
18.2.1
18.2.0
18.1.0
18.0.15
18.0.13
18.0.12
18.0.11
18.0.10
18.0.9
18.0.8
18.0.7
18.0.6
18.0.5
18.0.4
18.0.3
18.0.2
18.0.1
18.0.0
17.0.3
17.0.2
17.0.1
16.1.11
16.1.10
16.1.9
16.1.7
16.1.6
16.1.5
16.1.4
16.1.3
16.1.2
16.1.1
16.1.0
16.0.29
16.0.28
16.0.27
16.0.26
16.0.25
16.0.24
16.0.23
16.0.22
16.0.21
16.0.20
16.0.19
16.0.18
16.0.17
16.0.16
16.0.15
16.0.14
16.0.13
16.0.12
16.0.11
16.0.10
16.0.8
16.0.7
16.0.6
16.0.5
16.0.4
16.0.3
16.0.2
16.0.1
16.0.0
15.3.2
15.3.1
15.2.7
15.2.6
15.2.5
15.2.4
15.2.3
15.2.2
15.2.1
15.2.0
15.1.1
15.1.0
15.0.9
15.0.8
15.0.7
15.0.6
15.0.4
15.0.3
15.0.1
14.7.3
14.7.2
14.7.1
14.6.38
14.6.37
14.6.36
14.6.33
14.6.28
14.6.17
14.6.16
14.6.15
14.6.14
14.6.13
14.6.12
14.6.11
14.6.9
14.6.8
14.6.6
14.6.5
14.6.4
14.6.3
14.6.0
14.5.10
14.5.8
14.5.7
14.5.6
14.5.4
14.5.3
14.5.2
14.5.1
14.4.3
14.2.2
14.1.3
13.0.41
13.0.26
13.0.22
13.0.14
13.0.5
12.4.23
12.4.19
12.4.16
12.4.15
12.3.10
12.0.6
12.0.3
12.0.1
11.4.13
11.4.12
11.4.10
11.3.7
11.0.10
10.1.13
10.1.8
10.1.5
10.1.3
10.1.1
10.0.4
10.0.1
9.4.20
9.4.17
9.4.16
9.4.13
9.4.12
9.4.9
9.4.7
9.4.5
9.4.3