Skip to content

Commit f467600

Browse files
committed
Add javadoc
1 parent cedb5a7 commit f467600

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

vector/src/main/java/org/apache/arrow/vector/complex/reader/ExtensionReader.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,14 @@ public interface ExtensionReader extends BaseReader {
4343
*/
4444
boolean isSet();
4545

46+
/**
47+
* Gets the extension type writer factory associated with this reader.
48+
*
49+
* <p>The writer factory is used to create appropriate writers when copying extension type values
50+
* to another vector. This allows the copy operation to preserve the extension type semantics.
51+
*
52+
* @return the extension type writer factory
53+
* @throws IllegalStateException if the reader doesn't support extension types
54+
*/
4655
ExtensionTypeWriterFactory getExtensionTypeWriterFactory();
4756
}

0 commit comments

Comments
 (0)