ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/table/VirtualConstructedTable.java

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

      
    
Rootfs path

      
    
Size
1210 (1.2 KB)
MD5
b12044213609ffcfcb2ea8efbe78e8db
SHA1
a1934f962bfe259e4c708fb86d8da96f8fa8130f
SHA256
7839ddff2a39ae7b938aceb1ee08ba407c24d6fd09f16ee91f1c2031b1392663
SHA512

      
    
SHA1_git
ff1d4f73ff837f5e6e3ea041980aef048026951b
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
VirtualConstructedTable.java | 1.2 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.table; import org.h2.engine.SessionLocal; import org.h2.index.Index; import org.h2.index.VirtualConstructedTableIndex; import org.h2.result.ResultInterface; import org.h2.schema.Schema; /** * A base class for virtual tables that construct all their content at once. */ public abstract class VirtualConstructedTable extends VirtualTable { protected VirtualConstructedTable(Schema schema, int id, String name) { super(schema, id, name); } /** * Read the rows from the table. * * @param session * the session * @return the result */ public abstract ResultInterface getResult(SessionLocal session); @Override public Index getScanIndex(SessionLocal session) { return new VirtualConstructedTableIndex(this, IndexColumn.wrap(columns)); } @Override public long getMaxDataModificationId() { // TODO optimization: virtual table currently doesn't know the // last modified date return Long.MAX_VALUE; } }
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
7.03
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