Commit graph

153 commits

Author SHA1 Message Date
Ben Johnson
490a8cb0e7
Support keys on import CLI. 2018-07-16 16:11:30 +01:00
Cody Soyland
4aa8a41fa0 Unexport NewNotFoundError 2018-07-05 23:11:56 -05:00
Cody Soyland
59bbbfc1fb Unexport NewConflictError 2018-07-05 23:11:56 -05:00
Cody Soyland
51619e81a6 Unexport IndexInfo.Options 2018-07-05 23:11:56 -05:00
Cody Soyland
13a6542a15 Unexport Index.RecalculateCaches 2018-07-05 23:11:56 -05:00
Cody Soyland
1b6846d6e6 Unexport Index.FieldPath 2018-07-05 23:11:56 -05:00
Cody Soyland
5d7cb33322 Unexport Field.Logger 2018-07-05 23:11:56 -05:00
Cody Soyland
fc49d67c0b Unexport Field.RecalculateCaches 2018-07-05 23:11:56 -05:00
Cody Soyland
cbf821123e Unexport Field.MaxShard 2018-07-05 23:11:56 -05:00
Travis Turner
bf2b4e9284
remove index and field MarshalJSON 2018-07-05 20:50:00 -05:00
Travis Turner
9305712237
add options.keys and lowercase names to json output 2018-07-05 18:54:53 -05:00
Matt Jaffee
0a94d2f10d
Merge branch 'develop' into core-structs 2018-07-05 16:38:14 -05:00
Matt Jaffee
bbb93abd57
remove lots of unused code 2018-07-05 15:35:32 -05:00
Travis Turner
3e288aa391
un-export field.FieldOptions 2018-07-04 21:39:01 -05:00
Travis Turner
44f0b992f6
change all CreateField() methods to take functional options instead of FieldOptions 2018-07-04 21:22:35 -05:00
Matt Jaffee
f6aef32093
make gossip's interface to Pilosa the API struct rather than effectively being pilosa.Server 2018-07-03 12:58:18 -05:00
Matt Jaffee
06ad83b64b
more unexports - index methods and fields 2018-07-03 08:10:33 -05:00
Matt Jaffee
7376befddd
Merge branch 'develop' into even-more-unexport 2018-07-02 09:12:30 -05:00
Matt Jaffee
9ea300da20
unexport broadcaster 2018-07-02 08:34:58 -05:00
Matt Jaffee
7ec9c97e46
fixup nopAttrStore.
Methods no longer take pointer receiver, and NewNopAttrStore always returns a
reference to the same global object (which is no longer exported).
2018-07-02 08:30:48 -05:00
Travis Turner
c0b5ad316d
use constructors for errors 2018-07-01 19:54:10 -05:00
Travis Turner
8a5f5dd737
return an error when deleting a non-existent index or field 2018-07-01 19:54:09 -05:00
Travis Turner
7dd1f50a75
consolidate http errors into a shared response type 2018-07-01 19:54:09 -05:00
Travis Turner
5dd7a9556a
rename slice to shard 2018-06-28 14:07:07 -05:00
Travis Turner
028e95d914
Allow a single functional option for field options.
Move field type specific validation to functional options.
2018-06-26 10:37:56 -05:00
Travis Turner
50794bf63b
move fieldOptions unmarshal to the handler
validate fieldOptions in http package
2018-06-25 15:14:22 -05:00
Ben Johnson
060254e0d6
Key-to-ID Translation
This commit adds id-to-key translation to make it easier for users
to provide non-integer identifiers for rows & columns.
2018-06-15 16:45:05 -06:00
Travis Turner
fe167ea78c
un-export some top-level functions 2018-06-13 16:44:24 -05:00
Travis Turner
2a9b1e9e5b
final Frame to Field rename 2018-06-06 01:27:12 -05:00
Travis Turner
cb7487e34d
change all instances of internal Frame to Field 2018-06-05 23:24:24 -05:00
Travis Turner
3531c128c4
GoRename Frame to Field in index.go 2018-06-05 22:33:48 -05:00
Travis Turner
1d3c4d6fcb
first pass at GoRename Frame to Field in frame.go 2018-06-05 17:52:22 -05:00
Travis Turner
d799967fc6
add Type to frame so support BSI frame type "int" 2018-06-04 14:45:28 -05:00
Matt Jaffee
47f7beaecc
WIP removing inverse 2018-05-25 17:18:38 -05:00
Matt Jaffee
75e8a873b1
remove rangeEnabled option everywhere 2018-05-25 13:09:32 -05:00
Matt Jaffee
616545cd5c
remove input definition, add install-stringer to Makefile
also removes one line of unreachable code in cluster.go (unrelated)
2018-05-14 17:14:20 -05:00
alanbernstein
64ebae3a8a
Merge branch 'master' into wrap-errors-index 2018-05-10 18:57:44 -05:00
Alan Bernstein
a229b0f30d Make error string more specific 2018-05-10 16:02:40 -05:00
Alan Bernstein
4f300f5c2e Wrap errors in index 2018-05-10 11:33:14 -05:00
Travis Turner
7f41c0256c
avoid creating a slice of nil timestamps on Import() 2018-04-29 16:40:32 -05:00
Travis Turner
edee152a9b
remove Index.MergeSchemas() method 2018-04-20 13:20:56 -05:00
Travis Turner
e7151eb2a8
Remove Index.TimeQuantum 2018-04-18 08:17:26 -05:00
Matthew Jaffee
fe0ba6280f
deprecate RangeEnabled, but leave in API
the RangeEnabled option now has no effect, but it still exists in the API. A few
tests still use it to ensure this. This would only be considered a breaking
change if someone was relying on Pilosa to enforce the RangeEnabled: false
option to prevent fields being created in certain frames. This seems unlikely.
2018-04-16 16:08:04 -05:00
Travis Turner
1764d5a9bf
Merge pull request #1180 from travisturner/remove-rowcol-labels
Remove rowcol labels
2018-04-03 22:37:59 -05:00
Travis Turner
e3cd03d902
move rowLabel and columnLabel constants to executor.go 2018-04-02 13:05:37 -05:00
Travis Turner
9a2aeac6f8
Clean up logger; make it honor --log-path flag.
Add functional options to NewGossipMemberSet.
2018-03-27 08:40:04 -05:00
Travis Turner
b2b0fd081a
Remove ColumnLabel support 2018-03-26 15:35:56 -05:00
Travis Turner
2a8172b2a3
Remove RowLabel support 2018-03-26 14:48:56 -05:00
Cody Soyland
f9efa6c579 Use type func(string) AttrStore in place of interface AttrStoreGenerator for simplicity 2018-03-23 13:57:29 -05:00
Travis Turner
b66bedd1ef
put BoltDB behind AttrStore interface 2018-03-19 11:30:41 -05:00