h2-1.4.197.jar
登录
|
com.h2database:h2:1.4.197
META-INF
org
h2
jdbc
message
expression
ConditionInParameter.java
AggregateDataHistogram.java
Alias.java
FunctionCall.java
Rownum.java
Subquery.java
FunctionInfo.java
ConditionInSelect.java
Expression.java
ExpressionColumn.java
Comparison.java
JavaAggregate.java
ConditionAndOr.java
AggregateDataCount.java
ValueExpression.java
JavaFunction.java
ExpressionVisitor.java
Parameter.java
AggregateDataCountAll.java
AggregateDataMedian.java
CompareLike.java
ConditionIn.java
ExpressionList.java
Operation.java
ParameterInterface.java
ConditionInConstantSet.java
Function.java
Wildcard.java
AggregateDataSelectivity.java
Variable.java
AggregateDataDefault.java
ParameterRemote.java
Aggregate.java
AggregateData.java
TableFunction.java
ConditionNot.java
ConditionExists.java
AggregateDataArrayCollecting.java
SequenceValue.java
Condition.java
engine
upgrade
Driver.java
security
fulltext
api
compress
index
table
constraint
store
util
bnf
command
tools
server
mode
jdbcx
result
JdbcDriverBackwardsCompat.java
jmx
value
schema
mvstore
Wildcard.java
清空
类结构
/* * Copyright 2004-2018 H2 Group. Multiple-Licensed under the MPL 2.0, * and the EPL 1.0 (http://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.h2.expression; import org.h2.api.
ErrorCode
; import org.h2.engine.
Session
; import org.h2.message.
DbException
; import org.h2.table.
ColumnResolver
; import org.h2.table.
TableFilter
; import org.h2.util.
StringUtils
; import org.h2.value.
Value
; /** * A wildcard expression as in SELECT * FROM TEST. * This object is only used temporarily during the parsing phase, and later * replaced by column expressions. */ public class
Wildcard
extends
Expression
{ private final
String
schema
; private final
String
table
; public
Wildcard
(
String
schema
,
String
table
) { this.
schema
=
schema
; this.
table
=
table
; } @
Override
public boolean
isWildcard
() { return true; } @
Override
public
Value
getValue
(
Session
session
) { throw
DbException
.
throwInternalError
(
toString
()); } @
Override
public int
getType
() { throw
DbException
.
throwInternalError
(
toString
()); } @
Override
public void
mapColumns
(
ColumnResolver
resolver
, int
level
) { throw
DbException
.
get
(
ErrorCode
.
SYNTAX_ERROR_1
,
table
); } @
Override
public
Expression
optimize
(
Session
session
) { throw
DbException
.
get
(
ErrorCode
.
SYNTAX_ERROR_1
,
table
); } @
Override
public void
setEvaluatable
(
TableFilter
tableFilter
, boolean
b
) {
DbException
.
throwInternalError
(
toString
()); } @
Override
public int
getScale
() { throw
DbException
.
throwInternalError
(
toString
()); } @
Override
public long
getPrecision
() { throw
DbException
.
throwInternalError
(
toString
()); } @
Override
public int
getDisplaySize
() { throw
DbException
.
throwInternalError
(
toString
()); } @
Override
public
String
getTableAlias
() { return
table
; } @
Override
public
String
getSchemaName
() { return
schema
; } @
Override
public
String
getSQL
() { if (
table
== null) { return "*"; } return
StringUtils
.
quoteIdentifier
(
table
) + ".*"; } @
Override
public void
updateAggregate
(
Session
session
) {
DbException
.
throwInternalError
(
toString
()); } @
Override
public boolean
isEverything
(
ExpressionVisitor
visitor
) { if (
visitor
.
getType
() ==
ExpressionVisitor
.
QUERY_COMPARABLE
) { return true; } throw
DbException
.
throwInternalError
("" +
visitor
.
getType
()); } @
Override
public int
getCost
() { throw
DbException
.
throwInternalError
(
toString
()); } }
查找资源
Jre/Lib
输入类名或文件名
类结构窗口