/*
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 2.0, as published by the
* Free Software Foundation.
*
* This program is also distributed with certain software (including but not
* limited to OpenSSL) that is licensed under separate terms, as designated in a
* particular file or component or in included license documentation. The
* authors of MySQL hereby grant you an additional permission to link the
* program and your derivative works with the separately licensed software that
* they have included with MySQL.
*
* Without limiting anything contained in the foregoing, this file, which is
* part of MySQL Connector/J, is also subject to the Universal FOSS Exception,
* version 1.0, a copy of which can be found at
* http://oss.oracle.com/licenses/universal-foss-exception.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0,
* for more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
package com.mysql.cj.x.protobuf;
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mysqlx_crud.proto
public final class MysqlxCrud {
private MysqlxCrud() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf enum {@code Mysqlx.Crud.DataModel}
*
* <pre>
* DataModel to use for filters, names, ...
* </pre>
*/
public enum DataModel
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>DOCUMENT = 1;</code>
*/
DOCUMENT(0, 1),
/**
* <code>TABLE = 2;</code>
*/
TABLE(1, 2),
;
/**
* <code>DOCUMENT = 1;</code>
*/
public static final int DOCUMENT_VALUE = 1;
/**
* <code>TABLE = 2;</code>
*/
public static final int TABLE_VALUE = 2;
public final int getNumber() { return value; }
public static DataModel valueOf(int value) {
switch (value) {
case 1: return DOCUMENT;
case 2: return TABLE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<DataModel>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<DataModel>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<DataModel>() {
public DataModel findValueByNumber(int number) {
return DataModel.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.mysql.cj.x.protobuf.MysqlxCrud.getDescriptor().getEnumTypes().get(0);
}
private static final DataModel[] VALUES = values();
public static DataModel valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private DataModel(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:Mysqlx.Crud.DataModel)
}
/**
* Protobuf enum {@code Mysqlx.Crud.ViewAlgorithm}
*
* <pre>
* ViewAlgorithm defines how MySQL Server processes the view
* </pre>
*/
public enum ViewAlgorithm
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNDEFINED = 1;</code>
*
* <pre>
* MySQL chooses which algorithm to use
* </pre>
*/
UNDEFINED(0, 1),
/**
* <code>MERGE = 2;</code>
*
* <pre>
* the text of a statement that refers to the view and the view definition are merged
* </pre>
*/
MERGE(1, 2),
/**
* <code>TEMPTABLE = 3;</code>
*
* <pre>
* the view are retrieved into a temporary table
* </pre>
*/
TEMPTABLE(2, 3),
;
/**
* <code>UNDEFINED = 1;</code>
*
* <pre>
* MySQL chooses which algorithm to use
* </pre>
*/
public static final int UNDEFINED_VALUE = 1;
/**
* <code>MERGE = 2;</code>
*
* <pre>
* the text of a statement that refers to the view and the view definition are merged
* </pre>
*/
public static final int MERGE_VALUE = 2;
/**
* <code>TEMPTABLE = 3;</code>
*
* <pre>
* the view are retrieved into a temporary table
* </pre>
*/
public static final int TEMPTABLE_VALUE = 3;
public final int getNumber() { return value; }
public static ViewAlgorithm valueOf(int value) {
switch (value) {
case 1: return UNDEFINED;
case 2: return MERGE;
case 3: return TEMPTABLE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ViewAlgorithm>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<ViewAlgorithm>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ViewAlgorithm>() {
public ViewAlgorithm findValueByNumber(int number) {
return ViewAlgorithm.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.mysql.cj.x.protobuf.MysqlxCrud.getDescriptor().getEnumTypes().get(1);
}
private static final ViewAlgorithm[] VALUES = values();
public static ViewAlgorithm valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private ViewAlgorithm(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:Mysqlx.Crud.ViewAlgorithm)
}
/**
* Protobuf enum {@code Mysqlx.Crud.ViewSqlSecurity}
*
* <pre>
* ViewSqlSecurity defines the security context in which the view is going to be
* executed, this means that VIEW can be executed with current user permissions or
* with permissions of the uses who defined the VIEW
* </pre>
*/
public enum ViewSqlSecurity
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>INVOKER = 1;</code>
*/
INVOKER(0, 1),
/**
* <code>DEFINER = 2;</code>
*/
DEFINER(1, 2),
;
/**
* <code>INVOKER = 1;</code>
*/
public static final int INVOKER_VALUE = 1;
/**
* <code>DEFINER = 2;</code>
*/
public static final int DEFINER_VALUE = 2;
public final int getNumber() { re
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
mysql-connector-java-8.0.11 (642个子文件)
ca-truststore 1KB
changelog 235B
CHANGES 248KB
client-keystore 2KB
compat 2B
control 467B
copyright 361B
format 12B
mysqlx-overview.html 760B
rpm.spec.in 6KB
install 354B
mysql-connector-java-8.0.11.jar 1.94MB
protobuf-java-2.6.0.jar 580KB
c3p0-0.9.1-pre6.jar 519KB
jboss-common-jdbc-wrapper.jar 49KB
jboss-common-jdbc-wrapper-src.jar 35KB
slf4j-api-1.6.1.jar 25KB
MysqlxCrud.java 637KB
ConnectionRegressionTest.java 500KB
StatementRegressionTest.java 442KB
MysqlxExpr.java 306KB
ResultSetRegressionTest.java 252KB
DatabaseMetaData.java 242KB
MetaDataRegressionTest.java 214KB
MysqlxDatatypes.java 203KB
MysqlErrorNumbers.java 173KB
StatementsTest.java 155KB
MysqlxResultset.java 138KB
MysqlxNotice.java 119KB
ConnectionImpl.java 118KB
SyntaxRegressionTest.java 113KB
MysqlxConnection.java 103KB
ConnectionTest.java 101KB
NativeProtocol.java 95KB
CallableStatement.java 95KB
ResultSetImpl.java 94KB
StatementImpl.java 92KB
Mysqlx.java 89KB
StringUtilsTest.java 86KB
MysqlxSession.java 84KB
PropertyDefinitions.java 82KB
ClientPreparedStatement.java 82KB
StringUtils.java 81KB
UpdatableResultSet.java 80KB
MysqlxExpect.java 77KB
CallableStatementWrapper.java 73KB
CallableStatementRegressionTest.java 65KB
MultiHostConnectionTest.java 60KB
NativeSession.java 60KB
ConnectionUrlTest.java 54KB
DatabaseMetaDataUsingInfoSchema.java 53KB
MysqlxSql.java 52KB
ExprParser.java 50KB
CharsetMapping.java 49KB
MysqlType.java 47KB
BaseTestCase.java 46KB
SecureSessionTest.java 44KB
PreparedStatementWrapper.java 41KB
ExportControlled.java 40KB
TableSelectTest.java 39KB
NativeAuthenticationProvider.java 39KB
TranslateExceptions.java 39KB
ConnectionWrapper.java 38KB
CollectionFindTest.java 37KB
LoadBalancedConnectionProxy.java 36KB
ResultSetTest.java 36KB
MetadataTest.java 35KB
UtilsRegressionTest.java 34KB
ServerPreparedStatement.java 34KB
JsonDocTest.java 33KB
StringRegressionTest.java 33KB
StatementWrapper.java 32KB
ServerPreparedQuery.java 32KB
MetadataTest.java 32KB
CollectionModifyTest.java 31KB
ConnectionUrl.java 31KB
ClientPreparedQueryBindings.java 29KB
XMessageBuilder.java 29KB
ReplicationConnectionProxy.java 28KB
ConnectionUrlParser.java 28KB
ExprParserTest.java 27KB
XProtocol.java 26KB
XProtocolTest.java 25KB
AbstractQueryBindings.java 24KB
DataSourceRegressionTest.java 24KB
CollectionTest.java 24KB
AsyncMessageReader.java 23KB
MultiHostMySQLConnection.java 23KB
BlobFromLocator.java 22KB
NativePacketPayload.java 22KB
ParseInfo.java 22KB
JsonParser.java 21KB
MysqlSQLXML.java 21KB
NativeServerSession.java 20KB
CharsetTest.java 20KB
FailoverConnectionProxy.java 20KB
ResultSetMetaData.java 20KB
EscapeProcessor.java 20KB
ServerPreparedQueryBindings.java 19KB
MysqlDataSource.java 19KB
共 642 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
a1425199299
- 粉丝: 2
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页