Interface RecordV2Delta.Change

Enclosing interface:
RecordV2Delta

public static interface RecordV2Delta.Change
Represents a single change between one record value and another.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Indicates the type of change.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the index of the affected field.
    Returns the name of the affected field.
    key()
    Returns the string key representation of the affected item in the form recordName(recordIndex).fieldName(fieldIndex) or just recordName(recordIndex) in the case of RECORDS_ADDED or RECORDS_REMOVED.
    int
    Returns the index of the affected record.
    Returns the name of the affected record.
    Returns the change type.
  • Method Details

    • type

      Returns the change type.
      Returns:
      change type.
    • recordName

      String recordName()
      Returns the name of the affected record.
      Returns:
      record name
    • recordIndex

      int recordIndex()
      Returns the index of the affected record.

      The index of the first (or only) record occurrence with the given name will be 0.

      Returns:
      record index
    • fieldName

      String fieldName()
      Returns the name of the affected field.

      If type is RECORDS_ADDED or RECORDS_REMOVED then a zero length string will be returned.

      Returns:
      field name
    • fieldIndex

      int fieldIndex()
      Returns the index of the affected field.

      If type is RECORDS_ADDED or RECORDS_REMOVED then zero will be returned.

      Returns:
      field index
    • key

      String key()
      Returns the string key representation of the affected item in the form recordName(recordIndex).fieldName(fieldIndex) or just recordName(recordIndex) in the case of RECORDS_ADDED or RECORDS_REMOVED.
      Returns:
      the key of the affected item