Skip to content

Commit

Permalink
Modularize gandiva
Browse files Browse the repository at this point in the history
- Add module-info.java and make it an open module
- Add dependency on org.immutables.value
  • Loading branch information
jduo committed Jan 11, 2024
1 parent 907edd7 commit 1f0ad9a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
4 changes: 4 additions & 0 deletions java/gandiva/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-memory-core</artifactId>
</dependency>
<dependency>
<groupId>org.immutables</groupId>
<artifactId>value</artifactId>
</dependency>
<dependency>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-memory-netty</artifactId>
Expand Down
29 changes: 29 additions & 0 deletions java/gandiva/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
open module org.apache.arrow.gandiva {
exports org.apache.arrow.gandiva.expression;
exports org.apache.arrow.gandiva.exceptions;
exports org.apache.arrow.gandiva.evaluator;
exports org.apache.arrow.gandiva.ipc;

requires com.google.common;
requires org.apache.arrow.format;
requires org.apache.arrow.memory.core;
requires org.apache.arrow.vector;
requires org.slf4j;
requires protobuf.java;
}

0 comments on commit 1f0ad9a

Please sign in to comment.