rename view.SetFieldValue() to view.setValue()

This commit is contained in:
Travis Turner 2018-06-01 22:14:45 -05:00
parent c49fdb7b9b
commit 17c8944685
No known key found for this signature in database
GPG key ID: 7F08008DFD9314C9
2 changed files with 3 additions and 3 deletions

View file

@ -747,7 +747,7 @@ func (f *Frame) SetValue(columnID uint64, value int64) (changed bool, err error)
// Determine base value to store.
baseValue := uint64(value - field.Min)
return view.SetFieldValue(columnID, field.BitDepth(), baseValue)
return view.setValue(columnID, field.BitDepth(), baseValue)
}
// FieldSum returns the sum and count for a field.

View file

@ -333,8 +333,8 @@ func (v *View) FieldValue(columnID uint64, bitDepth uint) (value uint64, exists
return frag.FieldValue(columnID, bitDepth)
}
// SetFieldValue uses a column of bits to set a multi-bit value.
func (v *View) SetFieldValue(columnID uint64, bitDepth uint, value uint64) (changed bool, err error) {
// setValue uses a column of bits to set a multi-bit value.
func (v *View) setValue(columnID uint64, bitDepth uint, value uint64) (changed bool, err error) {
slice := columnID / SliceWidth
frag, err := v.CreateFragmentIfNotExists(slice)
if err != nil {