ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/mode/FunctionInfo.java

Path
ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/mode/FunctionInfo.java
Status
scanned
Type
file
Name
FunctionInfo.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text
Tag

      
    
Rootfs path

      
    
Size
2527 (2.5 KB)
MD5
15a3759affa59c2b8cd595d446bf5d8f
SHA1
0a9882d55d28216985426e2a4ec12703092b40db
SHA256
a525c8c862e721cce266795c5b59534553aae6fcb5dc71d51453e53d96424ade
SHA512

      
    
SHA1_git
018c893e29ce151692071174c186d42b846eebfe
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
FunctionInfo.java | 2.5 KB |

/* * Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0, * and the EPL 1.0 (https://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.h2.mode; /** * This class contains information about a built-in function. */ public final class FunctionInfo { /** * The name of the function. */ public final String name; /** * The function type. */ public final int type; /** * The number of parameters. */ final int parameterCount; /** * The data type of the return value. */ public final int returnDataType; /** * If the result of the function is NULL if any of the parameters is NULL. */ public final boolean nullIfParameterIsNull; /** * If this function always returns the same value for the same parameters. */ public final boolean deterministic; /** * Creates new instance of built-in function information. * * @param name * the name of the function * @param type * the function type * @param parameterCount * the number of parameters * @param returnDataType * the data type of the return value * @param nullIfParameterIsNull * if the result of the function is NULL if any of the parameters * is NULL * @param deterministic * if this function always returns the same value for the same * parameters */ public FunctionInfo(String name, int type, int parameterCount, int returnDataType, boolean nullIfParameterIsNull, boolean deterministic) { this.name = name; this.type = type; this.parameterCount = parameterCount; this.returnDataType = returnDataType; this.nullIfParameterIsNull = nullIfParameterIsNull; this.deterministic = deterministic; } /** * Creates a copy of built-in function information with a different name. A * copy will require parentheses. * * @param source * the source information * @param name * the new name */ public FunctionInfo(FunctionInfo source, String name) { this.name = name; type = source.type; returnDataType = source.returnDataType; parameterCount = source.parameterCount; nullIfParameterIsNull = source.nullIfParameterIsNull; deterministic = source.deterministic; } }
Detected license expression
mpl-2.0 AND epl-1.0
Detected license expression (SPDX)
MPL-2.0 AND EPL-1.0
Percentage of license text
3.56
Copyrights
- end_line: 2
  copyright: Copyright 2004-2023 H2 Group. Multiple-Licensed
  start_line: 2
Holders
- holder: H2 Group. Multiple-Licensed
  end_line: 2
  start_line: 2
Authors

      
    
License detections License expression License expression SPDX
mpl_2_0_and_epl_1_0-796bf8d7-f485-3520-923d-e6a4b1ecd2f3 mpl-2.0 AND epl-1.0 MPL-2.0 AND EPL-1.0
URL Start line End line
https://h2database.com/html/license.html 3 3
Package URL License Primary language
pkg:osgi/com.h2database.source@2.2.220