示例#1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: protected org.neo4j.bolt.runtime.BoltStateMachineState processStreamResultMessage(boolean pull, org.neo4j.bolt.runtime.StateMachineContext context) throws Throwable
        protected internal override BoltStateMachineState ProcessStreamResultMessage(bool pull, StateMachineContext context)
        {
            Bookmark bookmark = context.ConnectionState().StatementProcessor.streamResult(recordStream => context.ConnectionState().ResponseHandler.onRecords(recordStream, pull));

            bookmark.AttachTo(context.ConnectionState());
            return(ReadyStateConflict);
        }
示例#2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private org.neo4j.bolt.runtime.BoltStateMachineState processCommitMessage(org.neo4j.bolt.runtime.StateMachineContext context) throws Exception
        private BoltStateMachineState ProcessCommitMessage(StateMachineContext context)
        {
            StatementProcessor statementProcessor = context.ConnectionState().StatementProcessor;
            Bookmark           bookmark           = statementProcessor.CommitTransaction();

            bookmark.AttachTo(context.ConnectionState());
            return(_readyState);
        }
示例#3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: abstract State run(MutableTransactionState ctx, org.neo4j.bolt.runtime.TransactionStateMachineSPI spi, String statement, org.neo4j.values.virtual.MapValue params, org.neo4j.bolt.v1.runtime.bookmarking.Bookmark bookmark, java.time.Duration txTimeout, java.util.Map<String,Object> txMetadata) throws org.neo4j.internal.kernel.api.exceptions.KernelException;
            internal abstract State run(MutableTransactionState ctx, Org.Neo4j.Bolt.runtime.TransactionStateMachineSPI spi, string statement, [email protected] @params, Org.Neo4j.Bolt.v1.runtime.bookmarking.Bookmark bookmark, java.time.Duration txTimeout, IDictionary <string, object> txMetadata);
示例#4
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: abstract State beginTransaction(MutableTransactionState ctx, org.neo4j.bolt.runtime.TransactionStateMachineSPI spi, org.neo4j.bolt.v1.runtime.bookmarking.Bookmark bookmark, java.time.Duration txTimeout, java.util.Map<String,Object> txMetadata) throws org.neo4j.internal.kernel.api.exceptions.KernelException;
            internal abstract State beginTransaction(MutableTransactionState ctx, Org.Neo4j.Bolt.runtime.TransactionStateMachineSPI spi, Org.Neo4j.Bolt.v1.runtime.bookmarking.Bookmark bookmark, java.time.Duration txTimeout, IDictionary <string, object> txMetadata);
示例#5
0
 public BookmarkResult(Bookmark bookmark)
 {
     this._bookmark = bookmark;
 }