Convert Type fields to use graph.Type

Add text encoding methods to replace string storage.
This commit is contained in:
kortschak 2014-09-05 09:49:15 +09:30
parent 62013d3dfc
commit e2eea6c283
18 changed files with 84 additions and 20 deletions

View file

@ -119,7 +119,7 @@ func (it *Materialize) Describe() graph.Description {
primary := it.subIt.Describe()
return graph.Description{
UID: it.UID(),
Type: it.Type().String(),
Type: it.Type(),
Tags: it.tags.Tags(),
Size: int64(len(it.values)),
Iterator: &primary,