-
next
- The client retries failed HTTP requests, by default 2 times. Use
OptClientRetries
to set the number of retries. - Added support for unbounded int fields.
- The client retries failed HTTP requests, by default 2 times. Use
-
v1.3.0 (2019-04-19)
- Compatible with Pilosa 1.2 and 1.3
- Deprecated
QueryResponse.Columns
function. UseQueryResponse.ColumnAttrs
function instead. - Deprecated
QueryResponse.Column
function. - Removed support for Go 1.9.
- Added
Rows
andGroupBy
calls. - Added
index.Opts
andfield.Opts
functions, which return the options for anIndex
orField
. - Added roaring import support for
RowKeyColumnID
,RowIDColumnKey
andRowKeyColumnKey
type data. PassOptImportRoaring(true)
toclient.ImportField
to activate that. - Added
OptClientManualServerAddress
function. Passing this option together with a singleURI
or address toNewClient
causes the client use only the provided server address for fragment node and coordinator node addresses. - Added support for Open Tracing. See: Tracing documentation.
- Added
OptImportSort
which enables/disables bit sorting before imports. Disabling bit sorting may improve import performance for already sortedd data. - Added support for automatically loading shard width per index.
- Field option getters are attached to
Field
type instead of*Field
type. - Performance improvements.
- Deprecated
field.Options
. Usefield.Opts
instead. - Deprecated
Range
call. UseRowRange
instead.
-
v1.2.0 (2018-12-21)
- Compatible with Pilosa 1.2
- Added support for roaring imports which can speed up the import process by %30 for non-key column imports.
- Added mutex and bool fields.
- Added
field.ClearRow
call. - Added
index.Options
call. - Added support for roaring importing
RowIDColumnID
with timestamp data. - Added support for clear imports. Pass
OptImportClear(true)
toclient.ImportField
to use it. - Added experimental no standard view support for time fields. Use
OptFieldTypeTime(quantum, true)
to activate it. See FeatureBaseDB/featurebase#1710 for more information. - Added
keys
andtrackExistence
to index options. - Removed experimental import strategies.
-
v1.1.0 (2018-09-25)
- Compatible with Pilosa 1.1.
- Added support for
Not
queries. See Not call. Usage sample:index.Not(field.Row(1))
. This feature requires Pilosa on master branch.
-
v0.10.0 (2018-09-05)
- Compatible with Pilosa 1.0.
- Following terminology was changed:
- frame to field
- bitmap to row
- bit to column
- slice to shard
- There are three types of fields:
- Set fields to store boolean values (default)
- Integer fields to store an integer in the given range.
- Time fields which can store timestamps.
- Experimental: Import strategies are experimental and may be removed in later versions.
- Moved CSV related functionality to the
csv
subpackge. - Renamed
FilterFieldTopN
function toFilterAttrTopN
. - Removed all deprecated code.
- Removed
Field
type and renamedFrame
toField
. - Removed
client.ImportValueField
function.client.ImportField
function imports both set and integer fields, depending on the type of the field. - Removed index and field validation. The validation is done only on the server side.
schema.Index
andindex.Field
functions do not returnerror
values.
-
v0.9.0 (2018-05-10)
- Compatible with Pilosa 0.9.
- Added
Equals
,NotEquals
andNotNull
field operations. - Added
Field.Min
andField.Max
functions. - It is possible to set the number of import goroutines and track the import progress. See: Importing and Exporting Data.
- Breaking Change The signature of
Client.ImportFrame
function was changed. See: Importing and Exporting Data. - Deprecation
TimeQuantum
forIndexOptions
. UseTimeQuantum
of individualFrameOptions
instead. - Deprecation
IndexOptions
struct is deprecated and will be removed in the future. - Deprecation Passing
IndexOptions
ornil
toschema.Index
function. - Deprecation
SocketTimeout
client option. UseOptClientSocketTimeout
instead. - Deprecation
ConnectTimeout
client option. UseOptClientConnectTimeout
instead. - Deprecation
PoolSizePerRoute
client option. UseOptClientPoolSizePerRoute
instead. - Deprecation
TotalPoolSize
client option. UseOptClientTotalPoolSize
instead. - Deprecation
TLSConfig
client option. UseOptClientTLSConfig
instead. - Deprecation
ColumnAttrs
query option. UseOptQueryColumnAttrs
instead. - Deprecation
Slices
query option. UseOptQuerySlices
instead. - Deprecation
ExcludeAttrs
query option. UseOptQueryExcludeAttrs
instead. - Deprecation
ExcludeBits
query option. UseOptQueryExcludeBits
instead. - Deprecation
CacheSize
frame option. UseOptFrameCacheSize
instead. - Deprecation
IntField
frame option. UseOptFrameIntField
instead. - Deprecation
RangeEnabled
frame option. All frames have this optiontrue
on Pilosa 0.10. - Deprecation
InverseEnabled
frame option andFrame.InverseBitmap
,Frame.InverseTopN
,Frame.InverseBitmapTopN
,Frame.InverseFilterFieldTopN
,Frame.InverseRange
functions. Inverse frames will be removed from Pilosa 0.10. - Removed
NewClientFromAddresses
function. UseNewClient([]string{address1, address2, ...}, option1, option2, ...)
instead. - Removed
NewClientWithURI
function. UseNewClient(uri)
instead. - Removed
NewClientWithCluster
function. UseNewClient(cluster, option1, option2, ...)
instead.
-
v0.8.0 (2017-11-16)
- IPv6 support.
- Deprecation
Error*
constants. UseErr*
constants instead. - Deprecation
NewClientWithURI
,NewClientFromAddresses
andNewClientWithCluster
functions. UseNewClient
function which can be used with the same parameters. - Deprecation Passing a
*ClientOptions
struct toNewClient
function. Pass 0 or moreClientOption
structs toNewClient
instead. - Deprecation Passing a
*QueryOptions
struct toclient.Query
function. Pass 0 or moreQueryOption
structs instead. - Deprecation Index options.
- Deprecation Passing a
*FrameOptions
struct toindex.Frame
function. Pass 0 or moreFrameOption
structs instead.
-
v0.7.0 (2017-10-04):
- Dropped support for Go 1.7.
- Added support for creating range encoded frames.
- Added
Xor
call. - Added support for excluding bits or attributes from bitmap calls. In order to exclude bits, pass
ExcludeBits: true
in yourQueryOptions
. In order to exclude attributes, passExcludeAttrs: true
. - Added range field operations.
- Customizable CSV timestamp format.
- `HTTPS connections are supported.
- Deprecation Row and column labels are deprecated, and will be removed in a future release of this library. Do not use
ColumnLabel
option forIndexOptions
andRowLabel
forFrameOption
for new code. See: FeatureBaseDB/featurebase#752 for more info.
-
v0.5.0 (2017-08-03):
- Supports imports and exports.
- Introduced schemas. No need to re-define already existing indexes and frames.
NewClientFromAddresses
convenience function added. Create a client for a cluster directly from a slice of strings.- Failover for connection errors.
- make commands are supported on Windows.
- Deprecation
NewIndex
. Useschema.Index
instead. - Deprecation
CreateIndex
,CreateFrame
,EnsureIndex
,EnsureFrame
. Use schemas andclient.SyncSchema
instead.
-
v0.4.0 (2017-06-09):
- Supports Pilosa Server v0.4.0.
- Updated the accepted values for index, frame names and labels to match with the Pilosa server.
Union
query now accepts zero or more variadic arguments.Intersect
andDifference
queries now accept one or more variadic arguments.- Added
inverse TopN
andinverse Range
calls. - Inverse enabled status of frames is not checked on the client side.
-
v0.3.1 (2017-05-01):
- Initial version.
- Supports Pilosa Server v0.3.1.
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.