Class PageWriter

  • public class PageWriter
    extends PageReader
    This class extends the PageReader class to provide write operations as well as read operations. Using any of the write operations will automatically set the page's dirty-flag to true.
    • Constructor Detail

      • PageWriter

        public PageWriter​(DBPage dbPage)
    • Method Detail

      • write

        public void write​(byte[] b)
      • write

        public void write​(byte[] b,
                          int off,
                          int len)
      • writeBoolean

        public void writeBoolean​(boolean v)
      • writeByte

        public void writeByte​(int v)
      • writeShort

        public void writeShort​(int v)
      • writeChar

        public void writeChar​(int v)
      • writeInt

        public void writeInt​(int v)
      • writeLong

        public void writeLong​(long v)
      • writeFloat

        public void writeFloat​(float v)
      • writeDouble

        public void writeDouble​(double v)
      • writeNumeric

        public void writeNumeric​(java.math.BigDecimal v)
      • writeVarString255

        public void writeVarString255​(java.lang.String value)
      • writeVarString65535

        public void writeVarString65535​(java.lang.String value)
      • writeFixedSizeString

        public void writeFixedSizeString​(java.lang.String value,
                                         int len)
      • writeDate

        public void writeDate​(java.time.LocalDate value)
      • writeTime

        public void writeTime​(java.time.LocalTime value)
      • writeDateTime

        public void writeDateTime​(java.time.LocalDateTime value)
      • writeObject

        public void writeObject​(ColumnType colType,
                                java.lang.Object value)