Class RecordFunctions


  • public class RecordFunctions
    extends Object
    Functions for working with Records.
    • Field Detail

      • GET_RECORD_ID

        public static final com.google.common.base.Function<RecordDetail,​String> GET_RECORD_ID
        Take a RecordDetail and return its id.
      • GET_RECORD

        public static final com.google.common.base.Function<RecordDetail,​Record> GET_RECORD
        Take a RecordDetail and return its Record.
    • Method Detail

      • toRecordMap

        public static Map<String,​Record> toRecordMap​(Set<RecordDetail> recordDetails)
        Take a Set of RecordDetails and return a Map of record id to the Record.