Package com.impossibl.postgres.protocol
Class RowDataSet
- java.lang.Object
-
- io.netty.util.AbstractReferenceCounted
-
- com.impossibl.postgres.protocol.RowDataSet
-
- All Implemented Interfaces:
io.netty.util.ReferenceCounted
public class RowDataSet extends io.netty.util.AbstractReferenceCounted
-
-
Constructor Summary
Constructors Constructor Description RowDataSet()RowDataSet(int capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(RowData row)RowDataborrow(int index)java.util.List<RowData>borrowAll()RowDatacopy(int index)protected voiddeallocate()booleanisEmpty()voidremove(int index)intsize()RowDatatake(int index)java.lang.StringtoString()io.netty.util.ReferenceCountedtouch(java.lang.Object hint)
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
borrow
public RowData borrow(int index)
-
add
public void add(RowData row)
-
copy
public RowData copy(int index)
-
take
public RowData take(int index)
-
remove
public void remove(int index)
-
borrowAll
public java.util.List<RowData> borrowAll()
-
deallocate
protected void deallocate()
- Specified by:
deallocatein classio.netty.util.AbstractReferenceCounted
-
touch
public io.netty.util.ReferenceCounted touch(java.lang.Object hint)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-