Class RecordImpl

    • Method Detail

      • apply

        public static RecordImpl apply​(Record otherRecord)
        Constructs a new record using another one.

        Parameters:
        otherRecord - other record
        Returns:
        (undocumented)
      • get

        public scala.Option<PrimitiveTypeValue> get​(String key)
        Description copied from interface: Record
        Returns an optional containing the value of a given property, if this value is present, or an empty optional otherwise.

        Specified by:
        get in interface Record
        Parameters:
        key - property name
        Returns:
        an optional containing the value of a given property, if this value is present, or an empty optional otherwise
      • getMap

        public scala.collection.immutable.Map<String,​PrimitiveTypeValue> getMap()
        Description copied from interface: Record
        Returns a map representing this record.

        Specified by:
        getMap in interface Record
        Returns:
        a map
      • getProperties

        public scala.collection.immutable.Seq<String> getProperties()
        Description copied from interface: Record
        Returns the property names.

        Specified by:
        getProperties in interface Record
        Returns:
        the property names