Skip to content

Commit

Permalink
Arrow: Remove deprecated methods for 1.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ajantha-bhat committed Jan 18, 2024
1 parent 2446cee commit eaddea1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,6 @@ public static <T> VectorHolder constantHolder(
return new ConstantVectorHolder<>(icebergField, numRows, constantValue);
}

/** @deprecated since 1.4.0, will be removed in 1.5.0; use typed constant holders instead. */
@Deprecated
public static <T> VectorHolder constantHolder(int numRows, T constantValue) {
return new ConstantVectorHolder<>(numRows, constantValue);
}

public static VectorHolder deletedVectorHolder(int numRows) {
return new DeletedVectorHolder(numRows);
}
Expand All @@ -150,13 +144,6 @@ public ConstantVectorHolder(int numRows) {
this.constantValue = null;
}

/** @deprecated since 1.4.0, will be removed in 1.5.0; use typed constant holders instead. */
@Deprecated
public ConstantVectorHolder(int numRows, T constantValue) {
this.numRows = numRows;
this.constantValue = constantValue;
}

public ConstantVectorHolder(Types.NestedField icebergField, int numRows, T constantValue) {
super(icebergField);
this.numRows = numRows;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -572,12 +572,6 @@ public void close() {
public static class ConstantVectorReader<T> extends VectorizedArrowReader {
private final T value;

/** @deprecated since 1.4.0, will be removed in 1.5.0; use typed constant readers. */
@Deprecated
public ConstantVectorReader(T value) {
this.value = value;
}

public ConstantVectorReader(Types.NestedField icebergField, T value) {
super(icebergField);
this.value = value;
Expand Down

0 comments on commit eaddea1

Please sign in to comment.