Interface RecordPointer


public interface RecordPointer
Represents a extraction logic from a path (jsonpointer) for records.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    getValue(Record target, Class<T> type)
    Enables to extract a value from a record.
  • Method Details

    • getValue

      <T> T getValue(Record target, Class<T> type)
      Enables to extract a value from a record.
      Type Parameters:
      T - the extracted type.
      Parameters:
      target - the record to use as base.
      type - the expected type to extract.
      Returns:
      the value extracted from record.
      Throws:
      IllegalArgumentException - if the value does not exist.