Builder
Extended options for use with Cloud Spanner, which may be affixed to an individual model field.
Content copied to clipboard
elide.model.SpannerFieldOptions
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Override column name in Spanner only.
Content copied to clipboard
string column = 1;
Link copied to clipboard
Expression value for this field. Converts this field into a calculated value.
Content copied to clipboard
string expression = 7;
Link copied to clipboard
Link copied to clipboard
Whether to ignore this column in Spanner specifically.
Content copied to clipboard
bool ignore = 2;
Link copied to clipboard
Override the field to store STRUCT objects as JSON.
Content copied to clipboard
bool json = 4;
Link copied to clipboard
Specifies this column as `NONNULL`, in which case you cannot store `NULL` values in this field.
Content copied to clipboard
bool nonnull = 6;
Link copied to clipboard
Link copied to clipboard
Marks a field as a member of a Spanner row's primary key.
Content copied to clipboard
bool primary_key = 9;
Link copied to clipboard
Length of this field in the database, when expressed as a string.
Content copied to clipboard
uint32 size = 5;
Link copied to clipboard
Specifies the `STORED` option for this field. Only applicable if an `expression` is present.
Content copied to clipboard
bool stored = 8;
Link copied to clipboard
Override the field type in Spanner only.
Content copied to clipboard
.elide.model.SpannerOptions.SpannerType type = 3;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Override column name in Spanner only.
Content copied to clipboard
string column = 1;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Expression value for this field. Converts this field into a calculated value.
Content copied to clipboard
string expression = 7;
Link copied to clipboard
Expression value for this field. Converts this field into a calculated value.
Content copied to clipboard
string expression = 7;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Specifies this column as `NONNULL`, in which case you cannot store `NULL` values in this field.
Content copied to clipboard
bool nonnull = 6;
Link copied to clipboard
Link copied to clipboard
Marks a field as a member of a Spanner row's primary key.
Content copied to clipboard
bool primary_key = 9;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Override the field type in Spanner only.
Content copied to clipboard
.elide.model.SpannerOptions.SpannerType type = 3;
Link copied to clipboard
Override the field type in Spanner only.
Content copied to clipboard
.elide.model.SpannerOptions.SpannerType type = 3;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): SpannerFieldOptions.Builder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Override column name in Spanner only.
Content copied to clipboard
string column = 1;
Link copied to clipboard
Override column name in Spanner only.
Content copied to clipboard
string column = 1;
Link copied to clipboard
Expression value for this field. Converts this field into a calculated value.
Content copied to clipboard
string expression = 7;
Link copied to clipboard
Expression value for this field. Converts this field into a calculated value.
Content copied to clipboard
string expression = 7;
Link copied to clipboard
Whether to ignore this column in Spanner specifically.
Content copied to clipboard
bool ignore = 2;
Link copied to clipboard
Override the field to store STRUCT objects as JSON.
Content copied to clipboard
bool json = 4;
Link copied to clipboard
Specifies this column as `NONNULL`, in which case you cannot store `NULL` values in this field.
Content copied to clipboard
bool nonnull = 6;
Link copied to clipboard
Marks a field as a member of a Spanner row's primary key.
Content copied to clipboard
bool primary_key = 9;
Link copied to clipboard
abstract fun setRepeatedField(field: Descriptors.FieldDescriptor, index: Int, value: Any): Message.Builder
Link copied to clipboard
Length of this field in the database, when expressed as a string.
Content copied to clipboard
uint32 size = 5;
Link copied to clipboard
Specifies the `STORED` option for this field. Only applicable if an `expression` is present.
Content copied to clipboard
bool stored = 8;
Link copied to clipboard
Override the field type in Spanner only.
Content copied to clipboard
.elide.model.SpannerOptions.SpannerType type = 3;
Link copied to clipboard
Override the field type in Spanner only.
Content copied to clipboard
.elide.model.SpannerOptions.SpannerType type = 3;
Link copied to clipboard