Package com.rpl.rama
Class SubindexOptions.CapturedSubindexOptions
java.lang.Object
com.rpl.rama.SubindexOptions.CapturedSubindexOptions
- All Implemented Interfaces:
SubindexOptions,SubindexOptions.Impl
- Enclosing interface:
SubindexOptions
public static class SubindexOptions.CapturedSubindexOptions
extends Object
implements SubindexOptions.Impl
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rpl.rama.SubindexOptions
SubindexOptions.CapturedSubindexOptions, SubindexOptions.Impl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDisable automatic size tracking on this subindexed data structure.
-
Constructor Details
-
CapturedSubindexOptions
public CapturedSubindexOptions()
-
-
Method Details
-
withoutSizeTracking
Description copied from interface:SubindexOptions.ImplDisable automatic size tracking on this subindexed data structure. Automatic size tracking, enabled by default, makes querying the size of a subindexed structure (e.g. withOps.SIZEO(1). The tradeoff is increased cost per write to the subindexed structure. Turning size tracking off makes writes faster but makes computing the size an expensive O(N) operation. Size tracking cannot be disabled for a list schema since Rama needs the size to efficiently compute the index for a newly appended element.- Specified by:
withoutSizeTrackingin interfaceSubindexOptions.Impl
-
isSizeTracked
public boolean isSizeTracked()
-