public class SessionStats extends Object
This class provides estimated statistics about a session, including the estimated data size and row count.
Example usage:
SessionStats stats = SessionStats.newBuilder()
.withEstimatedSize(1024 * 1024 * 100)
.withEstimatedRowCount(1000000)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
SessionStats.Builder
Builder class for constructing SessionStats instances.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getEstimatedRowCount()
Gets the estimated row count.
|
long |
getEstimatedSize()
Gets the estimated data size in bytes.
|
static SessionStats.Builder |
newBuilder()
Creates a new builder for constructing SessionStats instances.
|
public static SessionStats.Builder newBuilder()
public long getEstimatedSize()
public long getEstimatedRowCount()
Copyright © 2026 Alibaba Cloud Computing. All rights reserved.