com.google.api.services.spanner.v1.model.ShortRepresentation Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.spanner.v1.model;
/**
* Condensed representation of a node and its subtree. Only present for `SCALAR` PlanNode(s).
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Spanner API. For a detailed explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ShortRepresentation extends com.google.api.client.json.GenericJson {
/**
* A string representation of the expression subtree rooted at this node.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;
/**
* A mapping of (subquery variable name) -> (subquery node id) for cases where the `description`
* string of this node references a `SCALAR` subquery contained in the expression subtree rooted
* at this node. The referenced `SCALAR` subquery may not necessarily be a direct child of this
* node.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map subqueries;
/**
* A string representation of the expression subtree rooted at this node.
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}
/**
* A string representation of the expression subtree rooted at this node.
* @param description description or {@code null} for none
*/
public ShortRepresentation setDescription(java.lang.String description) {
this.description = description;
return this;
}
/**
* A mapping of (subquery variable name) -> (subquery node id) for cases where the `description`
* string of this node references a `SCALAR` subquery contained in the expression subtree rooted
* at this node. The referenced `SCALAR` subquery may not necessarily be a direct child of this
* node.
* @return value or {@code null} for none
*/
public java.util.Map getSubqueries() {
return subqueries;
}
/**
* A mapping of (subquery variable name) -> (subquery node id) for cases where the `description`
* string of this node references a `SCALAR` subquery contained in the expression subtree rooted
* at this node. The referenced `SCALAR` subquery may not necessarily be a direct child of this
* node.
* @param subqueries subqueries or {@code null} for none
*/
public ShortRepresentation setSubqueries(java.util.Map subqueries) {
this.subqueries = subqueries;
return this;
}
@Override
public ShortRepresentation set(String fieldName, Object value) {
return (ShortRepresentation) super.set(fieldName, value);
}
@Override
public ShortRepresentation clone() {
return (ShortRepresentation) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy