Skip to content

Commit 6ab103d

Browse files
committed
A basic example of a project that uses the Deephaven Java client.
0 parents  commit 6ab103d

File tree

10 files changed

+528
-0
lines changed

10 files changed

+528
-0
lines changed

.gitignore

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
.gradle
2+
build/
3+
!gradle/wrapper/gradle-wrapper.jar
4+
!**/src/main/**/build/
5+
!**/src/test/**/build/
6+
7+
### IntelliJ IDEA ###
8+
.idea/modules.xml
9+
.idea/jarRepositories.xml
10+
.idea/compiler.xml
11+
.idea/libraries/
12+
*.iws
13+
*.iml
14+
*.ipr
15+
.idea/
16+
out/
17+
!**/src/main/**/out/
18+
!**/src/test/**/out/
19+
20+
### Eclipse ###
21+
.apt_generated
22+
.classpath
23+
.factorypath
24+
.project
25+
.settings
26+
.springBeans
27+
.sts4-cache
28+
bin/
29+
!**/src/main/**/bin/
30+
!**/src/test/**/bin/
31+
32+
### NetBeans ###
33+
/nbproject/private/
34+
/nbbuild/
35+
/dist/
36+
/nbdist/
37+
/.nb-gradle/
38+
39+
### VS Code ###
40+
.vscode/
41+
42+
### Mac OS ###
43+
.DS_Store

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Basic Java Client Example
2+
3+
This repository consists of a basic example of connecting a Deephaven Java client to a Deephaven server session. Please
4+
see the [Getting Started](https://deephaven.io/core/docs/tutorials/quickstart/) section of our website for information
5+
on how to start a Deephaven server session.
6+
7+
This example uses Deephaven's [Barrage](https://github.com/deephaven/barrage) protocol, which is an extension
8+
of [Apache Arrow Flight](https://arrow.apache.org/docs/format/Flight.html).

build.gradle

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
plugins {
2+
id 'java'
3+
}
4+
5+
6+
group = 'io.deephaven'
7+
version = '1.0-SNAPSHOT'
8+
9+
repositories {
10+
mavenCentral()
11+
}
12+
13+
dependencies {
14+
implementation "io.deephaven:deephaven-java-client-barrage"
15+
implementation "io.deephaven:deephaven-java-client-barrage-dagger"
16+
implementation platform("io.deephaven:deephaven-bom:$dhcVersion")
17+
18+
runtimeOnly "io.deephaven:deephaven-log-to-slf4j"
19+
runtimeOnly 'ch.qos.logback:logback-classic:1.4.12'
20+
21+
if (!project.hasProperty('excludeHotspotImpl')) {
22+
runtimeOnly "io.deephaven:deephaven-hotspot-impl:$dhcVersion"
23+
}
24+
25+
testImplementation platform('org.junit:junit-bom:5.9.1')
26+
testImplementation 'org.junit.jupiter:junit-jupiter'
27+
}
28+
29+
test {
30+
useJUnitPlatform()
31+
}

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dhcVersion=0.33.2

gradle/wrapper/gradle-wrapper.jar

59.3 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Fri Mar 15 09:32:35 EDT 2024
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
5+
zipStoreBase=GRADLE_USER_HOME
6+
zipStorePath=wrapper/dists

gradlew

Lines changed: 234 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)