All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.bigquery.model.UserDefinedFunctionResource.html Maven / Gradle / Ivy







UserDefinedFunctionResource (BigQuery API v2-rev20210219-1.31.0)












com.google.api.services.bigquery.model

Class UserDefinedFunctionResource

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class UserDefinedFunctionResource
    extends GenericJson
    This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql #differences_in_user-defined_javascript_functions

    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 BigQuery API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • UserDefinedFunctionResource

        public UserDefinedFunctionResource()
    • Method Detail

      • getInlineCode

        public String getInlineCode()
        [Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code.
        Returns:
        value or null for none
      • setInlineCode

        public UserDefinedFunctionResource setInlineCode(String inlineCode)
        [Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code.
        Parameters:
        inlineCode - inlineCode or null for none
      • getResourceUri

        public String getResourceUri()
        [Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path).
        Returns:
        value or null for none
      • setResourceUri

        public UserDefinedFunctionResource setResourceUri(String resourceUri)
        [Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path).
        Parameters:
        resourceUri - resourceUri or null for none

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy