java.lang.Object
org.neo4j.driver.internal.summary.InternalResultSummary
- All Implemented Interfaces:
ResultSummary
-
Constructor Summary
ConstructorsConstructorDescriptionInternalResultSummary(Query query, ServerInfo serverInfo, DatabaseInfo databaseInfo, QueryType queryType, SummaryCounters counters, Plan plan, ProfiledPlan profile, List<Notification> notifications, Set<GqlStatusObject> gqlStatusObjects, long resultAvailableAfter, long resultConsumedAfter) -
Method Summary
Modifier and TypeMethodDescriptioncounters()Returns the counters for operations the query triggered.database()The basic information of the database where the result is obtained frombooleanReturns a sequenced set of GQL-status objects resulting from the request execution.inthashCode()booleanhasPlan()Returnstrueif the result contained a query plan, i.e.booleanReturnstrueif the result contained profiling information, i.e.A list of notifications that might arise when executing the query.plan()This describes how the database will execute your query.profile()This describes how the database did execute your query.query()Returns the query that has been executed.Returns the type of query that has been executed.longresultAvailableAfter(TimeUnit unit) The time it took the server to make the result available for consumption.longresultConsumedAfter(TimeUnit unit) The time it took the server to consume the result.server()The basic information of the server where the result is obtained fromtoString()
-
Constructor Details
-
InternalResultSummary
public InternalResultSummary(Query query, ServerInfo serverInfo, DatabaseInfo databaseInfo, QueryType queryType, SummaryCounters counters, Plan plan, ProfiledPlan profile, List<Notification> notifications, Set<GqlStatusObject> gqlStatusObjects, long resultAvailableAfter, long resultConsumedAfter)
-
-
Method Details
-
query
Description copied from interface:ResultSummaryReturns the query that has been executed.- Specified by:
queryin interfaceResultSummary- Returns:
- the query that has been executed
-
counters
Description copied from interface:ResultSummaryReturns the counters for operations the query triggered.- Specified by:
countersin interfaceResultSummary- Returns:
- the counters for operations the query triggered
-
queryType
Description copied from interface:ResultSummaryReturns the type of query that has been executed.- Specified by:
queryTypein interfaceResultSummary- Returns:
- the type of query that has been executed
-
hasPlan
public boolean hasPlan()Description copied from interface:ResultSummaryReturnstrueif the result contained a query plan, i.e. is the summary of a Cypher "PROFILE" or "EXPLAIN" query.- Specified by:
hasPlanin interfaceResultSummary- Returns:
trueif the result contained a query plan, i.e. is the summary of a Cypher "PROFILE" or "EXPLAIN" query
-
hasProfile
public boolean hasProfile()Description copied from interface:ResultSummaryReturnstrueif the result contained profiling information, i.e. is the summary of a Cypher "PROFILE" query.- Specified by:
hasProfilein interfaceResultSummary- Returns:
trueif the result contained profiling information, i.e. is the summary of a Cypher "PROFILE" query
-
plan
Description copied from interface:ResultSummaryThis describes how the database will execute your query.- Specified by:
planin interfaceResultSummary- Returns:
- query plan for the executed query if available, otherwise null
-
profile
Description copied from interface:ResultSummaryThis describes how the database did execute your query.If the query you executed
was profiled, the query plan will contain detailed information about what each step of the plan did. That more in-depth version of the query plan becomes available here.- Specified by:
profilein interfaceResultSummary- Returns:
- profiled query plan for the executed query if available, otherwise null
-
notifications
Description copied from interface:ResultSummaryA list of notifications that might arise when executing the query. Notifications can be warnings about problematic queries or other valuable information that can be presented in a client.Unlike failures or errors, notifications do not affect the execution of a query.
- Specified by:
notificationsin interfaceResultSummary- Returns:
- a list of notifications produced while executing the query. The list will be empty if no notifications produced while executing the query.
-
gqlStatusObjects
Description copied from interface:ResultSummaryReturns a sequenced set of GQL-status objects resulting from the request execution.- Specified by:
gqlStatusObjectsin interfaceResultSummary- Returns:
- the sequenced set of GQL-status objects
-
resultAvailableAfter
Description copied from interface:ResultSummaryThe time it took the server to make the result available for consumption.- Specified by:
resultAvailableAfterin interfaceResultSummary- Parameters:
unit- The unit of the duration.- Returns:
- The time it took for the server to have the result available in the provided time unit.
-
resultConsumedAfter
Description copied from interface:ResultSummaryThe time it took the server to consume the result.- Specified by:
resultConsumedAfterin interfaceResultSummary- Parameters:
unit- The unit of the duration.- Returns:
- The time it took for the server to consume the result in the provided time unit.
-
server
Description copied from interface:ResultSummaryThe basic information of the server where the result is obtained from- Specified by:
serverin interfaceResultSummary- Returns:
- basic information of the server where the result is obtained from
-
database
Description copied from interface:ResultSummaryThe basic information of the database where the result is obtained from- Specified by:
databasein interfaceResultSummary- Returns:
- the basic information of the database where the result is obtained from
-
equals
-
hashCode
public int hashCode() -
toString
-