Class Insert


  • public class Insert
    extends RequestSingle
    Insert: { $query: query, $data : data , $filter: filter} // No query in
    • Field Detail

      • data

        protected com.fasterxml.jackson.databind.node.ArrayNode data
    • Constructor Detail

      • Insert

        public Insert()
    • Method Detail

      • resetData

        public final Insert resetData()
        Returns:
        this Insert
      • addData

        public final Insert addData​(com.fasterxml.jackson.databind.node.ObjectNode... data)
        Note that if previous attributes have the same name, they will be replaced.
        Parameters:
        data - list of json data
        Returns:
        this Insert
      • getFinalInsert

        public final com.fasterxml.jackson.databind.node.ObjectNode getFinalInsert()
        Returns:
        the Final Insert containing all 3 parts: query filter and data
      • getData

        public final com.fasterxml.jackson.databind.node.ObjectNode getData()
        Overrides:
        getData in class RequestSingle
        Returns:
        the data
      • getDatas

        public final com.fasterxml.jackson.databind.node.ArrayNode getDatas()
        Overrides:
        getDatas in class RequestSingle
        Returns:
        the datas