Reference documentation and code samples for the Cloud Spanner Database Admin V1 API class Google::Cloud::Spanner::Admin::Database::V1::SplitPoints.
The split points of a table/index.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. The expiration timestamp of the split points. A timestamp in the past means immediate expiration. The maximum value can be 30 days in the future. Defaults to 10 days in the future if not specified.
#expire_time=
def expire_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. The expiration timestamp of the split points. A timestamp in the past means immediate expiration. The maximum value can be 30 days in the future. Defaults to 10 days in the future if not specified.
Returns
- (::Google::Protobuf::Timestamp) — Optional. The expiration timestamp of the split points. A timestamp in the past means immediate expiration. The maximum value can be 30 days in the future. Defaults to 10 days in the future if not specified.
#index
def index() -> ::String
Returns
-
(::String) — The index to split.
If specified, the
table
field must refer to the index's base table.
#index=
def index=(value) -> ::String
Parameter
-
value (::String) — The index to split.
If specified, the
table
field must refer to the index's base table.
Returns
-
(::String) — The index to split.
If specified, the
table
field must refer to the index's base table.
#keys
def keys() -> ::Array<::Google::Cloud::Spanner::Admin::Database::V1::SplitPoints::Key>
Returns
- (::Array<::Google::Cloud::Spanner::Admin::Database::V1::SplitPoints::Key>) — Required. The list of split keys, i.e., the split boundaries.
#keys=
def keys=(value) -> ::Array<::Google::Cloud::Spanner::Admin::Database::V1::SplitPoints::Key>
Parameter
- value (::Array<::Google::Cloud::Spanner::Admin::Database::V1::SplitPoints::Key>) — Required. The list of split keys, i.e., the split boundaries.
Returns
- (::Array<::Google::Cloud::Spanner::Admin::Database::V1::SplitPoints::Key>) — Required. The list of split keys, i.e., the split boundaries.
#table
def table() -> ::String
Returns
- (::String) — The table to split.
#table=
def table=(value) -> ::String
Parameter
- value (::String) — The table to split.
Returns
- (::String) — The table to split.