Interface IBaseAeroMapper

All Known Subinterfaces:
IAeroMapper, IReactiveAeroMapper
All Known Implementing Classes:
AeroMapper, ReactiveAeroMapper

public interface IBaseAeroMapper
  • Method Summary

    Modifier and Type Method Description
    IAeroMapper asMapper()  
    com.aerospike.client.policy.BatchPolicy getBatchPolicy​(Class<?> clazz)
    Return the batch policy to be used for the passed class.
    MappingConverter getMappingConverter()  
    com.aerospike.client.policy.QueryPolicy getQueryPolicy​(Class<?> clazz)
    Return the query policy to be used for the passed class.
    com.aerospike.client.policy.Policy getReadPolicy​(Class<?> clazz)
    Return the read policy to be used for the passed class.
    com.aerospike.client.policy.ScanPolicy getScanPolicy​(Class<?> clazz)
    Return the scan policy to be used for the passed class.
    com.aerospike.client.policy.WritePolicy getWritePolicy​(Class<?> clazz)
    Return the write policy to be used for the passed class.
  • Method Details

    • getMappingConverter

      MappingConverter getMappingConverter()
    • asMapper

      IAeroMapper asMapper()
    • getReadPolicy

      com.aerospike.client.policy.Policy getReadPolicy​(Class<?> clazz)
      Return the read policy to be used for the passed class. This is a convenience method only and should rarely be needed
      Parameters:
      clazz - - the class to return the read policy for.
      Returns:
      - the appropriate read policy. If none is set, the client's readPolicyDefault is returned.
    • getWritePolicy

      com.aerospike.client.policy.WritePolicy getWritePolicy​(Class<?> clazz)
      Return the write policy to be used for the passed class. This is a convenience method only and should rarely be needed
      Parameters:
      clazz - - the class to return the write policy for.
      Returns:
      - the appropriate write policy. If none is set, the client's writePolicyDefault is returned.
    • getBatchPolicy

      com.aerospike.client.policy.BatchPolicy getBatchPolicy​(Class<?> clazz)
      Return the batch policy to be used for the passed class. This is a convenience method only and should rarely be needed
      Parameters:
      clazz - - the class to return the batch policy for.
      Returns:
      - the appropriate batch policy. If none is set, the client's batchPolicyDefault is returned.
    • getScanPolicy

      com.aerospike.client.policy.ScanPolicy getScanPolicy​(Class<?> clazz)
      Return the scan policy to be used for the passed class. This is a convenience method only and should rarely be needed
      Parameters:
      clazz - - the class to return the scan policy for.
      Returns:
      - the appropriate scan policy. If none is set, the client's scanPolicyDefault is returned.
    • getQueryPolicy

      com.aerospike.client.policy.QueryPolicy getQueryPolicy​(Class<?> clazz)
      Return the query policy to be used for the passed class. This is a convenience method only and should rarely be needed
      Parameters:
      clazz - - the class to return the query policy for.
      Returns:
      - the appropriate query policy. If none is set, the client's queryPolicyDefault is returned.