Modifier and Type | Field and Description |
---|---|
protected Class |
type
Projection's type.
|
Constructor and Description |
---|
ProjectionClassSingle(Class type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
T |
apply(org.neo4j.driver.v1.Record record) |
protected void |
checkIfRecordHaveSingleValue(org.neo4j.driver.v1.Record record)
Check if the given
record has only one column. |
protected Class type
public ProjectionClassSingle(Class type)
public T apply(org.neo4j.driver.v1.Record record)
protected void checkIfRecordHaveSingleValue(org.neo4j.driver.v1.Record record)
record
has only one column.
if not, a Neo4jClientException
is throw.record
- Copyright © 2017. All rights reserved.