UNPKG

gremlin

Version:

JavaScript Gremlin Language Variant

151 lines (127 loc) 5.88 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Source: structure/io/binary/internals/DataType.js</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> </head> <body> <div id="main"> <h1 class="page-title">Source: structure/io/binary/internals/DataType.js</h1> <section> <article> <pre class="prettyprint source linenums"><code>/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ /** * @author Igor Ostapenko */ 'use strict'; /** * Represents a GraphBinary data type. * * See org.apache.tinkerpop.gremlin.structure.io.binary.DataType Java class. */ const DataType = { INT: 0x01, LONG: 0x02, STRING: 0x03, DATE: 0x04, TIMESTAMP: 0x05, CLASS: 0x06, DOUBLE: 0x07, FLOAT: 0x08, LIST: 0x09, MAP: 0x0a, SET: 0x0b, UUID: 0x0c, EDGE: 0x0d, PATH: 0x0e, PROPERTY: 0x0f, GRAPH: 0x10, VERTEX: 0x11, VERTEXPROPERTY: 0x12, BARRIER: 0x13, BINDING: 0x14, BYTECODE: 0x15, CARDINALITY: 0x16, COLUMN: 0x17, DIRECTION: 0x18, OPERATOR: 0x19, ORDER: 0x1a, PICK: 0x1b, POP: 0x1c, LAMBDA: 0x1d, P: 0x1e, SCOPE: 0x1f, T: 0x20, TRAVERSER: 0x21, BIGDECIMAL: 0x22, BIGINTEGER: 0x23, BYTE: 0x24, BYTEBUFFER: 0x25, SHORT: 0x26, BOOLEAN: 0x27, TEXTP: 0x28, TRAVERSALSTRATEGY: 0x29, BULKSET: 0x2a, TREE: 0x2b, METRICS: 0x2c, TRAVERSALMETRICS: 0x2d, MERGE: 0x2e, DT: 0x2f, CHAR: 0x80, DURATION: 0x81, INETADDRESS: 0x82, INSTANT: 0x83, LOCALDATE: 0x84, LOCALDATETIME: 0x85, LOCALTIME: 0x86, MONTHDAY: 0x87, OFFSETDATETIME: 0x88, OFFSETTIME: 0x89, PERIOD: 0x8a, YEAR: 0x8b, YEARMONTH: 0x8c, ZONEDATETIME: 0x8d, ZONEOFFSET: 0x8e, CUSTOM: 0, UNSPECIFIED_NULL: 0xfe, }; module.exports = DataType; </code></pre> </article> </section> </div> <nav> <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AnonymousTraversalSource.html">AnonymousTraversalSource</a></li><li><a href="Authenticator.html">Authenticator</a></li><li><a href="Bytecode.html">Bytecode</a></li><li><a href="CardinalityValue.html">CardinalityValue</a></li><li><a href="Client.html">Client</a></li><li><a href="Connection.html">Connection</a></li><li><a href="DriverRemoteConnection.html">DriverRemoteConnection</a></li><li><a href="EdgeLabelVerificationStrategy.html">EdgeLabelVerificationStrategy</a></li><li><a href="Graph.html">Graph</a></li><li><a href="GraphSON2Reader.html">GraphSON2Reader</a></li><li><a href="GraphSON2Writer.html">GraphSON2Writer</a></li><li><a href="GraphSON3Reader.html">GraphSON3Reader</a></li><li><a href="GraphSON3Writer.html">GraphSON3Writer</a></li><li><a href="GraphTraversal.html">GraphTraversal</a></li><li><a href="GraphTraversalSource.html">GraphTraversalSource</a></li><li><a href="HaltedTraverserStrategy.html">HaltedTraverserStrategy</a></li><li><a href="MatchAlgorithmStrategy.html">MatchAlgorithmStrategy</a></li><li><a href="module.exports.html">exports</a></li><li><a href="P.html">P</a></li><li><a href="PartitionStrategy.html">PartitionStrategy</a></li><li><a href="Path.html">Path</a></li><li><a href="PlainTextSaslAuthenticator.html">PlainTextSaslAuthenticator</a></li><li><a href="ProductiveByStrategy.html">ProductiveByStrategy</a></li><li><a href="RemoteConnection.html">RemoteConnection</a></li><li><a href="RemoteStrategy.html">RemoteStrategy</a></li><li><a href="RemoteTraversal.html">RemoteTraversal</a></li><li><a href="ReservedKeysVerificationStrategy.html">ReservedKeysVerificationStrategy</a></li><li><a href="ResponseError.html">ResponseError</a></li><li><a href="ResultSet.html">ResultSet</a></li><li><a href="SaslAuthenticator.html">SaslAuthenticator</a></li><li><a href="SaslMechanismBase.html">SaslMechanismBase</a></li><li><a href="SaslMechanismPlain.html">SaslMechanismPlain</a></li><li><a href="SeedStrategy.html">SeedStrategy</a></li><li><a href="SubgraphStrategy.html">SubgraphStrategy</a></li><li><a href="TextP.html">TextP</a></li><li><a href="Transaction.html">Transaction</a></li><li><a href="Translator.html">Translator</a></li><li><a href="TraversalStrategies.html">TraversalStrategies</a></li><li><a href="TraversalStrategy.html">TraversalStrategy</a></li><li><a href="TypeSerializer.html">TypeSerializer</a></li></ul><h3>Global</h3><ul><li><a href="global.html#DataType">DataType</a></li><li><a href="global.html#statics">statics</a></li><li><a href="global.html#toArrayBuffer">toArrayBuffer</a></li></ul> </nav> <br class="clear"> <footer> Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Aug 08 2025 09:56:42 GMT-0700 (Pacific Daylight Time) </footer> <script> prettyPrint(); </script> <script src="scripts/linenumber.js"> </script> </body> </html>