Skip to content

Commit 5e32126

Browse files
authored
add interface (#18)
1 parent ce8028b commit 5e32126

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

lib/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ dependencies {
3333
implementation "io.grpc:grpc-services:1.57.1"
3434
implementation "io.grpc:grpc-testing:1.57.1"
3535
implementation "io.cloudquery:plugin-pb-java:0.0.5"
36+
implementation "org.apache.arrow:arrow-vector:12.0.1"
3637
}
3738

3839
testing {
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package io.cloudquery.scalar;
2+
3+
import org.apache.arrow.vector.types.pojo.ArrowType;
4+
5+
public interface Scalar {
6+
String String();
7+
8+
Boolean IsValid();
9+
10+
ArrowType DataType();
11+
12+
void Set(Object obj);
13+
14+
Object Get();
15+
16+
Boolean Equal(Scalar other);
17+
}

0 commit comments

Comments
 (0)