Esempio n. 1
0
        public void WriteRecord(RecordNode node)
        {
            var bld = _pool.Get();

            try
            {
                node.ToRecordNode(bld);
                _writer.Write('\t');
                _writer.WriteLine(bld.ToString());
            }
            finally
            {
                bld.Clear();
                _pool.Return(bld);
            }
        }
Esempio n. 2
0
 public void WriteEdge(RecordNode from, RecordNode to) => _writer.WriteLine($"\t{from.Identity}->{to.Identity}");