Class LogPlan

  • All Implemented Interfaces:
    org.apache.iotdb.consensus.common.request.IConsensusRequest

    public class LogPlan
    extends PhysicalPlan
    It's used by cluster to wrap log to plan
    • Constructor Detail

      • LogPlan

        public LogPlan()
      • LogPlan

        public LogPlan​(java.nio.ByteBuffer log)
      • LogPlan

        public LogPlan​(LogPlan plan)
    • Method Detail

      • getLog

        public java.nio.ByteBuffer getLog()
      • setLog

        public void setLog​(java.nio.ByteBuffer log)
      • getPaths

        public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
        Specified by:
        getPaths in class PhysicalPlan
      • serialize

        public void serialize​(java.io.DataOutputStream stream)
                       throws java.io.IOException
        Description copied from class: PhysicalPlan
        Serialize the plan into the given buffer. All necessary fields will be serialized.
        Overrides:
        serialize in class PhysicalPlan
        Throws:
        java.io.IOException
      • deserialize

        public void deserialize​(java.nio.ByteBuffer buffer)
        Description copied from class: PhysicalPlan
        Deserialize the plan from the given buffer.
        Overrides:
        deserialize in class PhysicalPlan