Package com.clickhouse.client
Class ClickHouseResponseSummary
java.lang.Object
com.clickhouse.client.ClickHouseResponseSummary
- All Implemented Interfaces:
Serializable
Deprecated.
Summary of ClickHouse response.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.Progress of a query.static classDeprecated.Statistics of a query. -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionClickHouseResponseSummary(ClickHouseResponseSummary.Progress progress, ClickHouseResponseSummary.Statistics stats) Deprecated.Default constructor.protectedClickHouseResponseSummary(ClickHouseResponseSummary.Progress progress, ClickHouseResponseSummary.Statistics stats, boolean sealed) Deprecated.Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ClickHouseResponseSummary summary) Deprecated.voidadd(ClickHouseResponseSummary.Progress progress) Deprecated.voidDeprecated.longDeprecated.Deprecated.Gets current progress of the query.Deprecated.longDeprecated.longDeprecated.longDeprecated.Deprecated.Gets statistics of the query.longDeprecated.intDeprecated.longDeprecated.longDeprecated.booleanisEmpty()Deprecated.voidseal()Deprecated.Seals the object so that it cannot be updated any more.toString()Deprecated.intupdate()Deprecated.Increases update counter.voidupdate(ClickHouseResponseSummary.Progress progress) Deprecated.Updates query progress.voidDeprecated.
-
Field Details
-
EMPTY
Deprecated.
-
-
Constructor Details
-
ClickHouseResponseSummary
public ClickHouseResponseSummary(ClickHouseResponseSummary.Progress progress, ClickHouseResponseSummary.Statistics stats) Deprecated.Default constructor.- Parameters:
progress- progress which may or may not be nullstats- statistics which may or may not be null
-
ClickHouseResponseSummary
protected ClickHouseResponseSummary(ClickHouseResponseSummary.Progress progress, ClickHouseResponseSummary.Statistics stats, boolean sealed) Deprecated.Default constructor.- Parameters:
progress- progress which may or may not be nullstats- statistics which may or may not be nullsealed- whether the summary is sealed
-
-
Method Details
-
seal
public void seal()Deprecated.Seals the object so that it cannot be updated any more. -
update
public int update()Deprecated.Increases update counter.- Returns:
- increased update counter
-
update
Deprecated.Updates query progress.- Parameters:
progress- query progress, null value will be simply ignored
-
add
Deprecated. -
update
Deprecated. -
add
Deprecated. -
add
Deprecated. -
getProgress
Deprecated.Gets current progress of the query.- Returns:
- non-null progress
-
getStatistics
Deprecated.Gets statistics of the query.- Returns:
- non-null statistics
-
getReadRows
public long getReadRows()Deprecated. -
getReadBytes
public long getReadBytes()Deprecated. -
getTotalRowsToRead
public long getTotalRowsToRead()Deprecated. -
getWrittenRows
public long getWrittenRows()Deprecated. -
getWrittenBytes
public long getWrittenBytes()Deprecated. -
getUpdateCount
public int getUpdateCount()Deprecated. -
getElapsedTime
public long getElapsedTime()Deprecated. -
getResultRows
public long getResultRows()Deprecated. -
getQueryId
Deprecated. -
isEmpty
public boolean isEmpty()Deprecated. -
toString
Deprecated.
-