Registry / serialization / orc-core

orc-core

JSON →
library2.3.0javamavenunverified

Core reader and writer for the Optimized Row Columnar (ORC) file format, using vectorized column batch for in-memory representation.

<dependency> <groupId>org.apache.orc</groupId> <artifactId>orc-core</artifactId> <version>2.3.0</version> </dependency>
INSTALL
IMPORT
SIG · ORC-CORE
O
orc-core
serializationjavav2.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OrcFile
org.apache.orc.OrcFile

Creates an ORC file writer with a schema.

import org.apache.orc.OrcFile; import org.apache.orc.TypeDescription; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; public class Example { public static void main(String[] args) throws Exception { Configuration conf = new Configuration(); TypeDescription schema = TypeDescription.fromString("struct<name:string,age:int>"); OrcFile.WriterOptions options = OrcFile.writerOptions(conf).setSchema(schema); OrcFile.Writer writer = OrcFile.createWriter(new Path("output.orc"), options); writer.close(); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.3.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
orc-core — mvn dependency:get orc-core · libregistry