ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/result/ResultExternal.java

Path
ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/result/ResultExternal.java
Status
scanned
Type
file
Name
ResultExternal.java
Extension
.java
Programming language
Java
Mime type
text/x-java
File type
Java source, ASCII text
Tag

      
    
Rootfs path

      
    
Size
1622 (1.6 KB)
MD5
ea7f5c9b62d8b0ffbb534045e5067ddc
SHA1
ddd8716496bfffa5cd0249b2a0a36e11df3176fc
SHA256
cd066c2a3b5f059c8c567b44cf16dc171e87998291ba944ace1922ae2ad480af
SHA512

      
    
SHA1_git
7145f6c0be167739bb27b3d757d0040961f268e6
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
ResultExternal.java | 1.6 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.result; import java.util.Collection; import org.h2.value.Value; /** * This interface is used to extend the LocalResult class, if data does not fit * in memory. */ public interface ResultExternal { /** * Reset the current position of this object. */ void reset(); /** * Get the next row from the result. * * @return the next row or null */ Value[] next(); /** * Add a row to this object. * * @param values the row to add * @return the new number of rows in this object */ int addRow(Value[] values); /** * Add a number of rows to the result. * * @param rows the list of rows to add * @return the new number of rows in this object */ int addRows(Collection<Value[]> rows); /** * Close this object and delete the temporary file. */ void close(); /** * Remove the row with the given values from this object if such a row * exists. * * @param values the row * @return the new row count */ int removeRow(Value[] values); /** * Check if the given row exists in this object. * * @param values the row * @return true if it exists */ boolean contains(Value[] values); /** * Create a shallow copy of this object if possible. * * @return the shallow copy, or null */ ResultExternal createShallowCopy(); }
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
4.37
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