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 void
add(RowData row)
RowData
borrow(int index)
List<RowData>
borrowAll()
RowData
copy(int index)
protected void
deallocate()
boolean
isEmpty()
void
remove(int index)
int
size()
RowData
take(int index)
String
toString()
io.netty.util.ReferenceCounted
touch(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)
-
deallocate
protected void deallocate()
- Specified by:
deallocate
in classio.netty.util.AbstractReferenceCounted
-
touch
public io.netty.util.ReferenceCounted touch(Object hint)
-
-