Tabnine Logo
FunctionDesc.getName
Code IndexAdd Tabnine to your IDE (free)

How to use
getName
method
in
ca.nrc.cadc.tap.schema.FunctionDesc

Best Java code snippets using ca.nrc.cadc.tap.schema.FunctionDesc.getName (Showing top 3 results out of 315)

origin: org.opencadc/cadc-adql

/**
 * Find the FunctionDesc for a given Function.
 *
 * @param tapSchema
 * @param function
 * @return FunctionDesc
 */
public static FunctionDesc findFunctionDesc(TapSchema tapSchema, Function function)
{
  if (function == null || function.getName() == null)
    return null;
  for (FunctionDesc functionDesc : tapSchema.getFunctionDescs())
  {
    log.debug("check: " + function.getName() + " vs " + functionDesc.getName());
    if (function.getName().equalsIgnoreCase(functionDesc.getName()))
      return functionDesc;
  }
  return null;
}

origin: org.opencadc/cadc-adql

@Override
public void visit(Function function)
{
  log.debug("visit(function)" + function);
  boolean found = false;
  
  for (FunctionDesc functionDesc : tapSchema.getFunctionDescs())
  {
    if (functionDesc.getName().equalsIgnoreCase(function.getName()))
    {
      found = true;
      break;
    }
  }
  if (!found)
    throw new IllegalArgumentException("Function [" + function.getName() + "] is not found in TapSchema");
  selectNavigator.enterFunctionCall(function);
  if (function.getParameters() != null)
    function.getParameters().accept(this);
  selectNavigator.leaveFunctionCall();
}

origin: org.opencadc/cadc-adql

return new FunctionDesc(functionDesc.getName(), datatype);
ca.nrc.cadc.tap.schemaFunctionDescgetName

Popular methods of FunctionDesc

  • <init>
  • getDatatype

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • getSupportFragmentManager (FragmentActivity)
  • getSharedPreferences (Context)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JTable (javax.swing)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now