diff --git a/java/source/avro.rst b/java/source/avro.rst
index f1b9f2d4..146a3099 100644
--- a/java/source/avro.rst
+++ b/java/source/avro.rst
@@ -17,9 +17,9 @@
.. _arrow-avro:
-======
-Avro
-======
+====
+Avro
+====
Avro encoded data can be converted into Arrow format.
@@ -32,10 +32,10 @@ The example assumes that the Avro schema is stored separately from the Avro data
.. testcode::
- import org.apache.arrow.AvroToArrow;
- import org.apache.arrow.AvroToArrowConfig;
- import org.apache.arrow.AvroToArrowConfigBuilder;
- import org.apache.arrow.AvroToArrowVectorIterator;
+ import org.apache.arrow.adapter.avro.AvroToArrow;
+ import org.apache.arrow.adapter.avro.AvroToArrowConfig;
+ import org.apache.arrow.adapter.avro.AvroToArrowConfigBuilder;
+ import org.apache.arrow.adapter.avro.AvroToArrowVectorIterator;
import org.apache.arrow.memory.BufferAllocator;
import org.apache.arrow.memory.RootAllocator;
import org.apache.arrow.vector.VectorSchemaRoot;
@@ -63,7 +63,7 @@ The example assumes that the Avro schema is stored separately from the Avro data
}
} catch (Exception e) {
e.printStackTrace();
- }
+ }
.. testoutput::
diff --git a/java/source/conf.py b/java/source/conf.py
index c2c20981..93db6b36 100644
--- a/java/source/conf.py
+++ b/java/source/conf.py
@@ -38,9 +38,9 @@
author = 'The Apache Software Foundation'
arrow_nightly=os.getenv("ARROW_NIGHTLY")
if arrow_nightly and arrow_nightly != '0':
- version = "15.0.0-SNAPSHOT"
+ version = "16.0.0-SNAPSHOT"
else:
- version = "14.0.0"
+ version = "15.0.0"
print(f"Running with Arrow version: {version}")
# -- General configuration ---------------------------------------------------
diff --git a/java/source/create.rst b/java/source/create.rst
index ae8ab0ec..570b0b87 100644
--- a/java/source/create.rst
+++ b/java/source/create.rst
@@ -215,7 +215,7 @@ In this example, we copy a portion of the input IntVector to a new IntVector.
try (IntVector sliced = (IntVector) tp.getTo()) {
System.out.println(sliced);
}
-
+
tp = vector.getTransferPair(allocator);
// copy 6 elements from index 2
tp.splitAndTransfer(2, 6);
@@ -228,7 +228,7 @@ In this example, we copy a portion of the input IntVector to a new IntVector.
[0, 1, 2, 3, 4]
[2, 3, 4, 5, 6, 7]
-
+
.. _`FieldVector`: https://arrow.apache.org/docs/java/reference/org/apache/arrow/vector/FieldVector.html
.. _`ValueVector`: https://arrow.apache.org/docs/java/vector.html
.. _`dictionary-encoding`: https://arrow.apache.org/docs/format/Columnar.html#dictionary-encoded-layout
diff --git a/java/source/demo/pom.xml b/java/source/demo/pom.xml
index 3a4df9ce..1370ab10 100644
--- a/java/source/demo/pom.xml
+++ b/java/source/demo/pom.xml
@@ -34,7 +34,7 @@
8
8
- 14.0.0
+ 15.0.0