This is an automated email from the ASF dual-hosted git repository.

fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-mr.git


The following commit(s) were added to refs/heads/master by this push:
     new 999dcbc23 PARQUET-2399: Use deprecated tag in Javadoc (#1222)
999dcbc23 is described below

commit 999dcbc23215b3aa94227d29ab9eeda8931b9a6c
Author: Atour <[email protected]>
AuthorDate: Sun Dec 3 03:24:24 2023 +0100

    PARQUET-2399: Use deprecated tag in Javadoc (#1222)
---
 .../parquet/cli/commands/ColumnMaskingCommand.java |  1 +
 .../parquet/cli/commands/PruneColumnsCommand.java  |  1 +
 .../cli/commands/TransCompressionCommand.java      |  1 +
 .../parquet/schema/LogicalTypeAnnotation.java      | 45 ++++++++--------------
 4 files changed, 18 insertions(+), 30 deletions(-)

diff --git 
a/parquet-cli/src/main/java/org/apache/parquet/cli/commands/ColumnMaskingCommand.java
 
b/parquet-cli/src/main/java/org/apache/parquet/cli/commands/ColumnMaskingCommand.java
index 71553787e..808241fe5 100644
--- 
a/parquet-cli/src/main/java/org/apache/parquet/cli/commands/ColumnMaskingCommand.java
+++ 
b/parquet-cli/src/main/java/org/apache/parquet/cli/commands/ColumnMaskingCommand.java
@@ -40,6 +40,7 @@ import org.apache.parquet.hadoop.util.HadoopInputFile;
 import org.apache.parquet.schema.MessageType;
 import org.slf4j.Logger;
 
+@Deprecated
 @Parameters(
     commandDescription = "(Deprecated: will be removed in 2.0.0, use rewrite 
command instead) "
         + "Replace columns with masked values and write to a new Parquet file")
diff --git 
a/parquet-cli/src/main/java/org/apache/parquet/cli/commands/PruneColumnsCommand.java
 
b/parquet-cli/src/main/java/org/apache/parquet/cli/commands/PruneColumnsCommand.java
index d62836177..0d933ecff 100644
--- 
a/parquet-cli/src/main/java/org/apache/parquet/cli/commands/PruneColumnsCommand.java
+++ 
b/parquet-cli/src/main/java/org/apache/parquet/cli/commands/PruneColumnsCommand.java
@@ -29,6 +29,7 @@ import org.apache.parquet.cli.BaseCommand;
 import org.apache.parquet.hadoop.util.ColumnPruner;
 import org.slf4j.Logger;
 
+@Deprecated
 @Parameters(
     commandDescription = "(Deprecated: will be removed in 2.0.0, use rewrite 
command instead) "
         + "Prune column(s) in a Parquet file and save it to a new file. "
diff --git 
a/parquet-cli/src/main/java/org/apache/parquet/cli/commands/TransCompressionCommand.java
 
b/parquet-cli/src/main/java/org/apache/parquet/cli/commands/TransCompressionCommand.java
index d45cf17f0..49528410b 100644
--- 
a/parquet-cli/src/main/java/org/apache/parquet/cli/commands/TransCompressionCommand.java
+++ 
b/parquet-cli/src/main/java/org/apache/parquet/cli/commands/TransCompressionCommand.java
@@ -40,6 +40,7 @@ import org.apache.parquet.hadoop.util.HadoopInputFile;
 import org.apache.parquet.schema.MessageType;
 import org.slf4j.Logger;
 
+@Deprecated
 @Parameters(
     commandDescription = "(Deprecated: will be removed in 2.0.0, use rewrite 
command instead) "
         + "Translate the compression from one to another (It doesn't support 
bloom filter feature yet).")
diff --git 
a/parquet-column/src/main/java/org/apache/parquet/schema/LogicalTypeAnnotation.java
 
b/parquet-column/src/main/java/org/apache/parquet/schema/LogicalTypeAnnotation.java
index 232ace5f6..a526c3c26 100644
--- 
a/parquet-column/src/main/java/org/apache/parquet/schema/LogicalTypeAnnotation.java
+++ 
b/parquet-column/src/main/java/org/apache/parquet/schema/LogicalTypeAnnotation.java
@@ -150,10 +150,9 @@ public abstract class LogicalTypeAnnotation {
    * Those logical type implementations, which don't have a corresponding 
mapping should return null.
    * <p>
    * API should be considered private
-   * <p>
-   * Deprecated: Please use the LogicalTypeAnnotation itself
    *
    * @return the OriginalType representation of the new logical type, or null 
if there's none
+   * @deprecated Please use the LogicalTypeAnnotation itself
    */
   @Deprecated
   public abstract OriginalType toOriginalType();
@@ -317,10 +316,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated
@@ -362,10 +360,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated
@@ -402,10 +399,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated
@@ -442,10 +438,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated
@@ -501,10 +496,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated
@@ -560,10 +554,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated
@@ -615,10 +608,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated
@@ -701,10 +693,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated
@@ -794,10 +785,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated
@@ -872,10 +862,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated
@@ -917,10 +906,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated
@@ -963,10 +951,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated
@@ -1005,10 +992,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated
@@ -1062,10 +1048,9 @@ public abstract class LogicalTypeAnnotation {
 
     /**
      * API Should be considered private
-     * <p>
-     * Deprecated: Please use the LogicalTypeAnnotation itself
      *
      * @return the original type
+     * @deprecated Please use the LogicalTypeAnnotation itself
      */
     @Override
     @Deprecated

Reply via email to