Skip to content

Commit

Permalink
PARQUET-2274: Remove Yetus
Browse files Browse the repository at this point in the history
I don't think this is used anywhere anymore.
  • Loading branch information
Fokko committed Apr 13, 2023
1 parent 9c312d6 commit 6ab7d6b
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 26 deletions.
5 changes: 0 additions & 5 deletions parquet-column/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@
<artifactId>zero-allocation-hashing</artifactId>
<version>${net.openhft.version}</version>
</dependency>
<dependency>
<groupId>org.apache.yetus</groupId>
<artifactId>audience-annotations</artifactId>
<version>${yetus.audience-annotations.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
package org.apache.parquet.schema;

import org.apache.parquet.Preconditions;
import org.apache.yetus.audience.InterfaceAudience;

import java.util.Collections;
import java.util.HashSet;
Expand Down Expand Up @@ -152,7 +151,6 @@ protected LogicalTypeAnnotation fromString(List<String> params) {
*
* @return the OriginalType representation of the new logical type, or null if there's none
*/
@InterfaceAudience.Private
public abstract OriginalType toOriginalType();

/**
Expand Down
5 changes: 0 additions & 5 deletions parquet-hadoop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,6 @@
<version>${net.openhft.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.yetus</groupId>
<artifactId>audience-annotations</artifactId>
<version>${yetus.audience-annotations.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@
import org.apache.parquet.io.ParquetEncodingException;
import org.apache.parquet.schema.MessageType;
import org.apache.parquet.bytes.ByteBufferAllocator;
import org.apache.yetus.audience.InterfaceAudience;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@InterfaceAudience.Private
public class ColumnChunkPageWriteStore implements PageWriteStore, BloomFilterWriteStore {
private static final Logger LOG = LoggerFactory.getLogger(ColumnChunkPageWriteStore.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
import org.apache.parquet.io.SeekableInputStream;
import org.apache.parquet.schema.MessageType;
import org.apache.parquet.schema.PrimitiveType;
import org.apache.yetus.audience.InterfaceAudience.Private;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -1381,7 +1380,6 @@ public BloomFilter readBloomFilter(ColumnChunkMetaData meta) throws IOException
* @throws IOException
* if any I/O error occurs during reading the file
*/
@Private
public ColumnIndex readColumnIndex(ColumnChunkMetaData column) throws IOException {
IndexReference ref = column.getColumnIndexReference();
if (ref == null) {
Expand Down Expand Up @@ -1410,7 +1408,6 @@ public ColumnIndex readColumnIndex(ColumnChunkMetaData column) throws IOExceptio
* @throws IOException
* if any I/O error occurs during reading the file
*/
@Private
public OffsetIndex readOffsetIndex(ColumnChunkMetaData column) throws IOException {
IndexReference ref = column.getOffsetIndexReference();
if (ref == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
import org.apache.parquet.schema.PrimitiveType;
import org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName;
import org.apache.parquet.schema.Types;
import org.apache.yetus.audience.InterfaceAudience.Private;

/**
* Column meta data for a block stored in the file footer and passed in the InputSplit
Expand Down Expand Up @@ -290,7 +289,6 @@ public PrimitiveType getPrimitiveType() {
/**
* @return the reference to the column index
*/
@Private
public IndexReference getColumnIndexReference() {
decryptIfNeeded();
return columnIndexReference;
Expand All @@ -300,15 +298,13 @@ public IndexReference getColumnIndexReference() {
* @param indexReference
* the reference to the column index
*/
@Private
public void setColumnIndexReference(IndexReference indexReference) {
this.columnIndexReference = indexReference;
}

/**
* @return the reference to the offset index
*/
@Private
public IndexReference getOffsetIndexReference() {
decryptIfNeeded();
return offsetIndexReference;
Expand All @@ -318,7 +314,6 @@ public IndexReference getOffsetIndexReference() {
* @param offsetIndexReference
* the reference to the offset index
*/
@Private
public void setOffsetIndexReference(IndexReference offsetIndexReference) {
this.offsetIndexReference = offsetIndexReference;
}
Expand All @@ -327,15 +322,13 @@ public void setOffsetIndexReference(IndexReference offsetIndexReference) {
* @param bloomFilterOffset
* the reference to the Bloom filter
*/
@Private
public void setBloomFilterOffset(long bloomFilterOffset) {
this.bloomFilterOffset = bloomFilterOffset;
}

/**
* @return the offset to the Bloom filter or {@code -1} if there is no bloom filter for this column chunk
*/
@Private
public long getBloomFilterOffset() {
decryptIfNeeded();
return bloomFilterOffset;
Expand Down Expand Up @@ -374,7 +367,6 @@ public boolean hasDictionaryPage() {
/**
* @return whether or not this column is encrypted
*/
@Private
public boolean isEncrypted() {
return false;
}
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
<mockito.version>1.10.19</mockito.version>
<net.openhft.version>0.9</net.openhft.version>
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
<yetus.audience-annotations.version>0.13.0</yetus.audience-annotations.version>

<!-- parquet-cli dependencies -->
<opencsv.version>2.3</opencsv.version>
Expand Down

0 comments on commit 6ab7d6b

Please sign in to comment.