enumerators

package
v0.0.0-...-e920dd0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IEnumerator

type IEnumerator interface {
	Next() bool
	Value() datatype.StackItem
	Dispose()
}

type Iterator

type Iterator struct {
	// contains filtered or unexported fields
}

func NewIterator

func NewIterator(iter database.Iterator) *Iterator

func (*Iterator) Deserialize

func (iter *Iterator) Deserialize(r io.Reader) error

func (*Iterator) Dispose

func (iter *Iterator) Dispose()

func (*Iterator) First

func (iter *Iterator) First() bool

func (*Iterator) Key

func (iter *Iterator) Key() []byte

func (*Iterator) Last

func (iter *Iterator) Last() bool

func (*Iterator) Next

func (iter *Iterator) Next() bool

func (*Iterator) Prev

func (iter *Iterator) Prev() bool

func (*Iterator) Release

func (iter *Iterator) Release()

func (*Iterator) Seek

func (iter *Iterator) Seek(key []byte) bool

func (*Iterator) Serialize

func (iter *Iterator) Serialize(w io.Writer) error

func (*Iterator) Value

func (iter *Iterator) Value() []byte

type IteratorKeys

type IteratorKeys struct {
	// contains filtered or unexported fields
}

func NewIteratorKeys

func NewIteratorKeys(iter database.Iterator) *IteratorKeys

func (*IteratorKeys) Deserialize

func (iter *IteratorKeys) Deserialize(r io.Reader) error

func (*IteratorKeys) Dispose

func (iter *IteratorKeys) Dispose()

func (*IteratorKeys) Next

func (iter *IteratorKeys) Next() bool

func (*IteratorKeys) Serialize

func (iter *IteratorKeys) Serialize(w io.Writer) error

func (*IteratorKeys) Value

func (iter *IteratorKeys) Value() []byte

type IteratorValues

type IteratorValues struct {
	// contains filtered or unexported fields
}

func NewIteratorValues

func NewIteratorValues(iter database.Iterator) *IteratorValues

func (*IteratorValues) Bytes

func (iter *IteratorValues) Bytes() []byte

func (*IteratorValues) Deserialize

func (iter *IteratorValues) Deserialize(r io.Reader) error

func (*IteratorValues) Dispose

func (iter *IteratorValues) Dispose()

func (*IteratorValues) Next

func (iter *IteratorValues) Next() bool

func (*IteratorValues) Serialize

func (iter *IteratorValues) Serialize(w io.Writer) error

func (*IteratorValues) Value

func (iter *IteratorValues) Value() []byte

type ListIterator

type ListIterator struct {
	// contains filtered or unexported fields
}

func NewListIterator

func NewListIterator() *ListIterator

func (*ListIterator) Add

func (iter *ListIterator) Add(key interface{}, value interface{})

func (*ListIterator) Deserialize

func (iter *ListIterator) Deserialize(r io.Reader) error

func (*ListIterator) First

func (iter *ListIterator) First() bool

func (*ListIterator) HashNext

func (iter *ListIterator) HashNext() bool

func (*ListIterator) Key

func (iter *ListIterator) Key() []byte

func (*ListIterator) Last

func (iter *ListIterator) Last() bool

func (*ListIterator) Next

func (iter *ListIterator) Next() bool

func (*ListIterator) Prev

func (iter *ListIterator) Prev() bool

func (*ListIterator) Release

func (iter *ListIterator) Release()

func (*ListIterator) Seek

func (iter *ListIterator) Seek(key []byte) bool

func (*ListIterator) Serialize

func (iter *ListIterator) Serialize(w io.Writer) error

func (*ListIterator) Value

func (iter *ListIterator) Value() []byte

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL