Modifier and Type | Method and Description |
---|---|
KeyRange |
build() |
KeyRange.Builder |
setEnd(Key key)
Sets the end key of the range.
|
KeyRange.Builder |
setEndType(KeyRange.Endpoint type)
Sets whether the end key is inclusive (
CLOSED ) or exclusive (OPEN ). |
KeyRange.Builder |
setStart(Key key)
Sets the start key of the range.
|
KeyRange.Builder |
setStartType(KeyRange.Endpoint type)
Sets whether the start key is inclusive (
CLOSED ) or exclusive (OPEN ). |
public KeyRange.Builder setStart(Key key)
build()
is called.public KeyRange.Builder setStartType(KeyRange.Endpoint type)
CLOSED
) or exclusive (OPEN
). The
default is CLOSED
.public KeyRange.Builder setEnd(Key key)
build()
is called.public KeyRange.Builder setEndType(KeyRange.Endpoint type)
CLOSED
) or exclusive (OPEN
). The
default is OPEN
.public KeyRange build()
Copyright © 2022 Google LLC. All rights reserved.