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 classStorageEntityDataValidator.ByDictionarystatic interfaceStorageEntityDataValidator.Creatorstatic classStorageEntityDataValidator.DebugLoggerstatic classStorageEntityDataValidator.SimpleBounds -
Method Summary
Modifier and Type Method Description default booleanacceptEntityData(long entityStartAddress, long dataBoundAddress)static StorageEntityDataValidator.CreatorCreator()static StorageEntityDataValidator.CreatorCreatorDebugLogging()Deprecated.static StorageEntityDataValidatorDebugLogging(StorageEntityDataValidator delegate)Deprecated.static StorageEntityDataValidatorDebugLogging(StorageTypeDictionary typeDictionary)Deprecated.static StorageEntityDataValidatorNew(long lengthLowerValue, long lengthUpperBound, long typeIdLowerValue, long typeIdUpperBound, long objectIdLowerValue, long objectIdUpperBound)static StorageEntityDataValidatorNew(StorageTypeDictionary typeDictionary)voidvalidateEntity(long length, long typeId, long objectId)
-
Method Details
-
acceptEntityData
default boolean acceptEntityData(long entityStartAddress, long dataBoundAddress)- Specified by:
acceptEntityDatain 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.
-