Skip to content

Commit 82baf18

Browse files
authored
GH-825: Add UUID canonical extension type (#903)
1 parent 13f1bd2 commit 82baf18

24 files changed

+1571
-282
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/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
}

0 commit comments

Comments
 (0)