On this page
The PolyRow
object in the Polypheny JDBC Multimodel Extension represents an individual row in a relational result set. Each PolyRow
object contains a set of PolyValue
objects, each representing a single column value.
Constructors
List Constructor
public PolyRow(List<PolyValue> value)
Constructs a PolyRow
object with a list of PolyValue
objects.
Parameters:
value
: List ofPolyValue
objects representing the individual column values in the row.
Varargs Constructor
public PolyRow(PolyValue... value)
Constructs a PolyRow
object using a varargs of PolyValue
objects.
Parameters:
value
: Varargs ofPolyValue
objects representing the individual column values in the row.
getColumnCount
public int getColumnCount()
Returns the number of columns in the PolyRow
.
Return Type:
- Returns an integer representing the number of columns.
getValue
public PolyValue getValue(int columnIndex)
Returns the PolyValue
object at the specified column index.
Parameters:
columnIndex
: The 0-based index of the column whose value you want to retrieve.
Return Type:
- Returns the
PolyValue
object corresponding to the specified column index.
of
public static <E extends PolyValue> PolyRow of(E... values)
Creates a PolyRow
object using a varargs of PolyValue
objects.
Parameters:
values
: Varargs ofPolyValue
objects.
Return Type:
- Returns a new
PolyRow
object.
© Polypheny GmbH. All Rights Reserved.