Skip to content

Commit da42227

Browse files
committed
Remove FixedSizeExtensionType
1 parent 931408d commit da42227

File tree

4 files changed

+5
-35
lines changed

4 files changed

+5
-35
lines changed

vector/src/main/java/org/apache/arrow/vector/BaseFixedWidthVector.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public BaseFixedWidthVector(Field field, final BufferAllocator allocator, final
7070
refreshValueCapacity();
7171
}
7272

73+
@Override
7374
public int getTypeWidth() {
7475
return typeWidth;
7576
}

vector/src/main/java/org/apache/arrow/vector/FixedSizeExtensionType.java

Lines changed: 0 additions & 34 deletions
This file was deleted.

vector/src/main/java/org/apache/arrow/vector/FixedWidthVector.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,7 @@ public interface FixedWidthVector extends ElementAddressableVector {
3131

3232
/** Zero out the underlying buffer backing this vector. */
3333
void zeroVector();
34+
35+
/** Get the width of the type in bytes. */
36+
int getTypeWidth();
3437
}

vector/src/main/java/org/apache/arrow/vector/UuidVector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* @see NullableUuidHolder
5454
*/
5555
public class UuidVector extends ExtensionTypeVector<FixedSizeBinaryVector>
56-
implements ValueIterableVector<UUID>, FixedWidthVector, FixedSizeExtensionType {
56+
implements ValueIterableVector<UUID>, FixedWidthVector {
5757
private final Field field;
5858

5959
/** The fixed byte width of UUID values (16 bytes). */

0 commit comments

Comments
 (0)