java.lang.Object
org.apache.arrow.vector.SchemaChangeCallBack
- All Implemented Interfaces:
- CallBack
Callback for when the Schema for the Vector changes (generally happens when a vector is promoted
 to a union type from a single value type).
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs a schema-change callback with the schema-changed state set tofalse.
- 
Method SummaryModifier and TypeMethodDescriptionvoiddoWork()Sets the schema-changed state totrue.booleanReturns the value of schema-changed state, resetting the schema-changed state tofalse.
- 
Constructor Details- 
SchemaChangeCallBackpublic SchemaChangeCallBack()Constructs a schema-change callback with the schema-changed state set tofalse.
 
- 
- 
Method Details- 
doWorkpublic void doWork()Sets the schema-changed state totrue.
- 
getSchemaChangedAndResetpublic boolean getSchemaChangedAndReset()Returns the value of schema-changed state, resetting the schema-changed state tofalse.- Returns:
- the previous schema-changed state
 
 
-