Class ColumnarRowView
java.lang.Object
com.databricks.jdbc.api.impl.ColumnarRowView
Memory-efficient columnar view that provides row-based access without materializing all rows.
Instead of creating Listinvalid input: '<'List
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the number of columns in this view.intGets the number of rows in this view.getValue(int rowIndex, int columnIndex) Gets the value at the specified row and column without materializing the entire row.Object[]materializeRow(int rowIndex) Creates a materialized row only when explicitly requested (for backward compatibility).
-
Constructor Details
-
ColumnarRowView
- Throws:
DatabricksSQLException
-
-
Method Details
-
getRowCount
public int getRowCount()Gets the number of rows in this view. -
getColumnCount
public int getColumnCount()Gets the number of columns in this view. -
getValue
Gets the value at the specified row and column without materializing the entire row.- Throws:
DatabricksSQLException
-
materializeRow
Creates a materialized row only when explicitly requested (for backward compatibility). This should be avoided in performance-critical paths.- Throws:
DatabricksSQLException
-