Class BaseDynamicFillByOperator.SingletonContext
java.lang.Object
com.illumon.iris.db.v2.updateby.fill.BaseDynamicFillByOperator.SingletonContext
- All Implemented Interfaces:
ChunkedUpdateByOperator.UpdateContext
,SafeCloseable
,AutoCloseable
- Enclosing class:
- BaseDynamicFillByOperator
protected class BaseDynamicFillByOperator.SingletonContext extends Object implements ChunkedUpdateByOperator.UpdateContext
-
Constructor Summary
Constructors Modifier Constructor Description protected
SingletonContext()
-
Method Summary
Modifier and Type Method Description protected long
advanceRedirectionTo(long advanceTo)
Advance the next redirection pointer to the next redirected row at or after the specified key.void
close()
-
Constructor Details
-
SingletonContext
protected SingletonContext()
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSafeCloseable
-
advanceRedirectionTo
protected long advanceRedirectionTo(long advanceTo)Advance the next redirection pointer to the next redirected row at or after the specified key. If there are no more, set it to -1- Parameters:
advanceTo
- the key to advance to.- Returns:
- the next redirected row, or -1 if there are none.
-