Package one.microstream.storage.types
Interface StorageEntityDataValidator
- All Superinterfaces:
BinaryEntityRawDataAcceptor
- All Known Implementing Classes:
StorageEntityDataValidator.ByDictionary
,StorageEntityDataValidator.DebugLogger
,StorageEntityDataValidator.SimpleBounds
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface StorageEntityDataValidator extends BinaryEntityRawDataAcceptor
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StorageEntityDataValidator.ByDictionary
static interface
StorageEntityDataValidator.Creator
static class
StorageEntityDataValidator.DebugLogger
static class
StorageEntityDataValidator.SimpleBounds
-
Method Summary
Modifier and Type Method Description default boolean
acceptEntityData(long entityStartAddress, long dataBoundAddress)
static StorageEntityDataValidator.Creator
Creator()
static StorageEntityDataValidator.Creator
CreatorDebugLogging()
Deprecated.static StorageEntityDataValidator
DebugLogging(StorageEntityDataValidator delegate)
Deprecated.static StorageEntityDataValidator
DebugLogging(StorageTypeDictionary typeDictionary)
Deprecated.static StorageEntityDataValidator
New(long lengthLowerValue, long lengthUpperBound, long typeIdLowerValue, long typeIdUpperBound, long objectIdLowerValue, long objectIdUpperBound)
static StorageEntityDataValidator
New(StorageTypeDictionary typeDictionary)
void
validateEntity(long length, long typeId, long objectId)
-
Method Details
-
acceptEntityData
default boolean acceptEntityData(long entityStartAddress, long dataBoundAddress)- Specified by:
acceptEntityData
in interfaceBinaryEntityRawDataAcceptor
-
validateEntity
void validateEntity(long length, long typeId, long objectId) -
New
-
New
static StorageEntityDataValidator New(long lengthLowerValue, long lengthUpperBound, long typeIdLowerValue, long typeIdUpperBound, long objectIdLowerValue, long objectIdUpperBound) -
DebugLogging
Deprecated. -
DebugLogging
Deprecated. -
Creator
-
CreatorDebugLogging
Deprecated.
-