Modifier and Type | Field and Description |
---|---|
boolean |
done
Whether this is definitely the last frame of rows.
|
static Meta.Frame |
EMPTY
Frame that has zero rows and is the last frame.
|
static Meta.Frame |
MORE
Frame that has zero rows but may have another frame.
|
long |
offset
Zero-based offset of first row.
|
Iterable<Object> |
rows
The rows.
|
Constructor and Description |
---|
Frame(long offset,
boolean done,
Iterable<Object> rows) |
Modifier and Type | Method and Description |
---|---|
static Meta.Frame |
create(long offset,
boolean done,
List<Object> rows) |
boolean |
equals(Object o) |
static Meta.Frame |
fromProto(org.apache.calcite.avatica.proto.Common.Frame proto) |
int |
hashCode() |
org.apache.calcite.avatica.proto.Common.Frame |
toProto() |
public static final Meta.Frame EMPTY
public static final Meta.Frame MORE
public final long offset
public final boolean done
public static Meta.Frame create(long offset, boolean done, List<Object> rows)
public org.apache.calcite.avatica.proto.Common.Frame toProto()
public static Meta.Frame fromProto(org.apache.calcite.avatica.proto.Common.Frame proto)
Copyright © 2012-2024 Apache Software Foundation. All Rights Reserved.