顶点属性值的最大长度是多少?

时间:2019-04-11 04:40:06

标签: janusgraph

我想知道janusgraph中一个顶点属性值的最大长度是什么。

我使用该步骤来提交一个顶点属性,其类型为String。 g.V(XXX).property(“ propertyKey”,propertyValue)

如果propertyValue的长度太长,在gremlin控制台中,它将显示错误

那么顶点属性值max-length有什么限制吗?

  

org.apache.tinkerpop.gremlin.groovy.plugin.RemoteException:连接   由同伴重置           在org.apache.tinkerpop.gremlin.console.groovy.plugin.DriverRemoteAcceptor.submit(DriverRemoteAcceptor.java:181)           在org.apache.tinkerpop.gremlin.console.GremlinGroovysh.execute(GremlinGroovysh.groovy:99)           在org.codehaus.groovy.tools.shell.Shell.leftShift(Shell.groovy:122)           在org.codehaus.groovy.tools.shell.ShellRunner.work(ShellRunner.groovy:95)           在org.codehaus.groovy.tools.shell.InteractiveShellRunner.super $ 2 $ work(InteractiveShellRunner.groovy)           在sun.reflect.GeneratedMethodAccessor36.invoke(未知来源)           在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)           在java.lang.reflect.Method.invoke(Method.java:498)           在org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)           在groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)           在groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)           在org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132)           在org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:152)           在org.codehaus.groovy.tools.shell.InteractiveShellRunner.work(InteractiveShellRunner.groovy:124)           在org.codehaus.groovy.tools.shell.ShellRunner.run(ShellRunner.groovy:59)           在org.codehaus.groovy.tools.shell.InteractiveShellRunner.super $ 2 $ run(InteractiveShellRunner.groovy)           在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处           在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)           在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)           在java.lang.reflect.Method.invoke(Method.java:498)           在org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)           在groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)           在groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)           在org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132)           在org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:152)           在org.codehaus.groovy.tools.shell.InteractiveShellRunner.run(InteractiveShellRunner.groovy:83)           在org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232)           在org.apache.tinkerpop.gremlin.console.Console。(Console.groovy:166)           在org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232)           在org.apache.tinkerpop.gremlin.console.Console.main(Console.groovy:478)

0 个答案:

没有答案