Class: Google::Cloud::Spanner::Admin::Database::V1::SplitPoints
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::Admin::Database::V1::SplitPoints
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb
Overview
The split points of a table/index.
Defined Under Namespace
Classes: Key
Instance Attribute Summary collapse
-
#expire_time ⇒ ::Google::Protobuf::Timestamp
Optional.
-
#index ⇒ ::String
The index to split.
-
#keys ⇒ ::Array<::Google::Cloud::Spanner::Admin::Database::V1::SplitPoints::Key>
Required.
-
#table ⇒ ::String
The table to split.
Instance Attribute Details
#expire_time ⇒ ::Google::Protobuf::Timestamp
Returns 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.
780 781 782 783 784 785 786 787 788 789 790 791 792 |
# File 'proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb', line 780 class SplitPoints include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A split key. # @!attribute [rw] key_parts # @return [::Google::Protobuf::ListValue] # Required. The column values making up the split key. class Key include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#index ⇒ ::String
Returns The index to split.
If specified, the table field must refer to the index's base table.
780 781 782 783 784 785 786 787 788 789 790 791 792 |
# File 'proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb', line 780 class SplitPoints include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A split key. # @!attribute [rw] key_parts # @return [::Google::Protobuf::ListValue] # Required. The column values making up the split key. class Key include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#keys ⇒ ::Array<::Google::Cloud::Spanner::Admin::Database::V1::SplitPoints::Key>
Returns Required. The list of split keys, i.e., the split boundaries.
780 781 782 783 784 785 786 787 788 789 790 791 792 |
# File 'proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb', line 780 class SplitPoints include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A split key. # @!attribute [rw] key_parts # @return [::Google::Protobuf::ListValue] # Required. The column values making up the split key. class Key include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#table ⇒ ::String
Returns The table to split.
780 781 782 783 784 785 786 787 788 789 790 791 792 |
# File 'proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb', line 780 class SplitPoints include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A split key. # @!attribute [rw] key_parts # @return [::Google::Protobuf::ListValue] # Required. The column values making up the split key. class Key include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |