Skip to content

Commit

Permalink
[orc] Remove useless methods for orc writer
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi committed Apr 10, 2024
1 parent 3ca6fc0 commit a5303ac
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 166 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

import java.io.IOException;
import java.io.Serializable;
import java.nio.ByteBuffer;

import static org.apache.paimon.utils.Preconditions.checkNotNull;

Expand Down Expand Up @@ -67,20 +66,6 @@ public void setWriter(Writer writer) {
this.writer = writer;
}

/**
* Adds arbitrary user metadata to the outgoing ORC file.
*
* <p>Users who want to dynamically add new metadata either based on either the input or from an
* external system can do so by calling <code>addUserMetadata(...)</code> inside the overridden
* vectorize() method.
*
* @param key a key to label the data with.
* @param value the contents of the metadata.
*/
public void addUserMetadata(String key, ByteBuffer value) {
this.writer.addUserMetadata(key, value);
}

/**
* Transforms the provided element to ColumnVectors and sets them in the exposed
* VectorizedRowBatch.
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit a5303ac

Please sign in to comment.