JDBC Driver - Scalar Results

On this page

org.polypheny.jdbc.multimodel.ScalarResult is a Result of type SCALAR. It represents a scalar value returned by the server, such as an affected row count from a write. A query that selects one column from one row can still return a RelationalResult.

getScalar

getScalar() returns the response value as a primitive long. The driver builds this result with ScalarResult(long) when a statement result contains a scalar response.

© Polypheny GmbH. All Rights Reserved.