/*
* Copyright (c) 2015, 2019, 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
@SuppressWarnings({ "deprecation", "cast" })
public final class MysqlxCrud {
private MysqlxCrud() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* <pre>
* DataModel to use for filters, names, ...
* </pre>
*
* Protobuf enum {@code Mysqlx.Crud.DataModel}
*/
public enum DataModel
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>DOCUMENT = 1;</code>
*/
DOCUMENT(1),
/**
* <code>TABLE = 2;</code>
*/
TABLE(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;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DataModel valueOf(int value) {
return forNumber(value);
}
public static DataModel forNumber(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 final com.google.protobuf.Internal.EnumLiteMap<
DataModel> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<DataModel>() {
public DataModel findValueByNumber(int number) {
return DataModel.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
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 value;
private DataModel(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:Mysqlx.Crud.DataModel)
}
/**
* <pre>
* ViewAlgorithm defines how MySQL Server processes the view
* </pre>
*
* Protobuf enum {@code Mysqlx.Crud.ViewAlgorithm}
*/
public enum ViewAlgorithm
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <pre>
* MySQL chooses which algorithm to use
* </pre>
*
* <code>UNDEFINED = 1;</code>
*/
UNDEFINED(1),
/**
* <pre>
* the text of a statement that refers to the view and the view definition are merged
* </pre>
*
* <code>MERGE = 2;</code>
*/
MERGE(2),
/**
* <pre>
* the view are retrieved into a temporary table
* </pre>
*
* <code>TEMPTABLE = 3;</code>
*/
TEMPTABLE(3),
;
/**
* <pre>
* MySQL chooses which algorithm to use
* </pre>
*
* <code>UNDEFINED = 1;</code>
*/
public static final int UNDEFINED_VALUE = 1;
/**
* <pre>
* the text of a statement that refers to the view and the view definition are merged
* </pre>
*
* <code>MERGE = 2;</code>
*/
public static final int MERGE_VALUE = 2;
/**
* <pre>
* the view are retrieved into a temporary table
* </pre>
*
* <code>TEMPTABLE = 3;</code>
*/
public static final int TEMPTABLE_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ViewAlgorithm valueOf(int value) {
return forNumber(value);
}
public static ViewAlgorithm forNumber(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 final com.google.protobuf.Internal.EnumLiteMap<
ViewAlgorithm> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ViewAlgorithm>() {
public ViewAlgorithm findValueByNumber(int number) {
return ViewAlgorithm.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
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 value;
private ViewAlgorithm(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:Mysqlx.Crud.ViewAlgorithm)
}
/**
* <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>
*
没有合适的资源?快使用搜索试试~ 我知道了~
mysql-connector-java-8.0.18.zip
共661个文件
java:621个
properties:9个
pem:7个
需积分: 38 49 下载量 197 浏览量
2019-12-15
12:28:14
上传
评论
收藏 4.39MB ZIP 举报
温馨提示
eclipse链接mysql,mysql链接数据库需要jar包,我们链接的时候需要导入这个包,然后再调试是否链接上。
资源推荐
资源详情
资源评论
收起资源包目录
mysql-connector-java-8.0.18.zip (661个子文件)
ca-truststore 1KB
changelog 275B
CHANGES 257KB
client-keystore 2KB
compat 2B
control 467B
copyright 365B
format 12B
mysqlx-overview.html 776B
connector-j-overview.html 725B
rpm.spec.in 7KB
INFO_BIN 183B
INFO_SRC 135B
install 522B
mysql-connector-java-8.0.18.jar 2.22MB
MysqlxCrud.java 766KB
ConnectionRegressionTest.java 543KB
StatementRegressionTest.java 458KB
MysqlxExpr.java 347KB
ResultSetRegressionTest.java 302KB
MysqlxDatatypes.java 236KB
MetaDataRegressionTest.java 232KB
DatabaseMetaData.java 229KB
MysqlxNotice.java 183KB
MysqlxResultset.java 176KB
MysqlErrorNumbers.java 172KB
StatementsTest.java 169KB
MysqlxPrepare.java 151KB
MysqlxConnection.java 122KB
SyntaxRegressionTest.java 113KB
Mysqlx.java 107KB
MysqlxCursor.java 107KB
MysqlxSession.java 106KB
ConnectionTest.java 101KB
ConnectionImpl.java 101KB
MetadataTest.java 94KB
CallableStatement.java 91KB
NativeProtocol.java 91KB
MysqlxExpect.java 90KB
ResultSetImpl.java 90KB
StringUtilsTest.java 86KB
StatementImpl.java 82KB
StringUtils.java 80KB
SessionTest.java 78KB
UpdatableResultSet.java 76KB
CallableStatementTest.java 76KB
CallableStatementWrapper.java 73KB
SecureSessionTest.java 73KB
ClientPreparedStatement.java 72KB
PooledConnectionRegressionTest.java 69KB
CallableStatementRegressionTest.java 63KB
ConnectionUrlTest.java 62KB
MultiHostConnectionTest.java 61KB
MysqlxSql.java 61KB
CollectionFindTest.java 60KB
PropertyDefinitions.java 60KB
ResultSetTest.java 58KB
TableSelectTest.java 57KB
NativeSession.java 56KB
DatabaseMetaDataUsingInfoSchema.java 55KB
ExprParser.java 50KB
CharsetMapping.java 49KB
CollectionModifyTest.java 49KB
MysqlType.java 48KB
BaseTestCase.java 47KB
CollectionTest.java 43KB
XMessageBuilder.java 43KB
XProtocol.java 41KB
ConnectionWrapper.java 40KB
TranslateExceptions.java 39KB
PreparedStatementWrapper.java 38KB
NativeAuthenticationProvider.java 38KB
ExportControlled.java 38KB
LoadBalancedConnectionProxy.java 37KB
ServerPreparedStatement.java 35KB
UtilsRegressionTest.java 34KB
MetadataTest.java 33KB
JsonDocTest.java 32KB
StatementWrapper.java 32KB
ServerPreparedQuery.java 31KB
StringRegressionTest.java 31KB
ConnectionUrl.java 30KB
ClientPreparedQueryBindings.java 30KB
ExprParserTest.java 29KB
ConnectionUrlParser.java 29KB
ReplicationConnectionProxy.java 28KB
XProtocolTest.java 28KB
AbstractQueryBindings.java 27KB
MultiHostMySQLConnection.java 25KB
DataSourceRegressionTest.java 24KB
ParseInfo.java 24KB
AsyncMessageReader.java 24KB
NativePacketPayload.java 23KB
CollectionRemoveTest.java 22KB
JsonParser.java 22KB
ServerPreparedQueryBindings.java 22KB
MysqlSQLXML.java 21KB
BlobFromLocator.java 21KB
JdbcConnection.java 21KB
FailoverConnectionProxy.java 20KB
共 661 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
晗晗是可爱鬼
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- TG-2024-04-26-183849310.mp4
- 汇编语言的概要介绍与分析
- 个人博客系统设计与开发.zip
- 2023-04-06-项目笔记 - 第一百十五阶段 - 4.4.2.113全局变量的作用域-113 -2024.04.26
- 2023-04-06-项目笔记 - 第一百十五阶段 - 4.4.2.113全局变量的作用域-113 -2024.04.26
- htmlzwbjq_downyi.com.zip
- 无头单向非循环链表的实现(Test.c)
- 无头单向非循环链表的实现(SList.c)
- 浏览器重定向插件更新文件
- SSA-BP麻雀算法优化BP神经网络多特征分类预测(Matlab实现完整源码和数据)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功