Skip to content

Commit

Permalink
Deprecation notice for LMAP, LSTACK and LSET API
Browse files Browse the repository at this point in the history
  • Loading branch information
khaf committed May 15, 2015
1 parent 2e749f2 commit a99356f
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Minor Improvements.

NOTICE: All LDTs on server other than LLIST have been deprecated, and will be removed in the future. As Such, all API regarding those features are considered deprecated and will be removed in the future.
NOTICE: All LDTs on server other than LLIST have been deprecated, and will be removed in the future. As Such, all API regarding those features are considered deprecated and will be removed in tandem.

* **Improvements**

Expand Down
3 changes: 3 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ func (clnt *Client) GetLargeList(policy *WritePolicy, key *Key, binName string,
//
// This method is only supported by Aerospike 3 servers.
// If the policy is nil, the default relevant policy will be used.
// NOTICE: DEPRECATED ON SERVER. Will be removed in future.
func (clnt *Client) GetLargeMap(policy *WritePolicy, key *Key, binName string, userModule string) *LargeMap {
policy = clnt.getUsableWritePolicy(policy)
return NewLargeMap(clnt, policy, key, binName, userModule)
Expand All @@ -518,6 +519,7 @@ func (clnt *Client) GetLargeMap(policy *WritePolicy, key *Key, binName string, u
//
// This method is only supported by Aerospike 3 servers.
// If the policy is nil, the default relevant policy will be used.
// NOTICE: DEPRECATED ON SERVER. Will be removed in future.
func (clnt *Client) GetLargeSet(policy *WritePolicy, key *Key, binName string, userModule string) *LargeSet {
policy = clnt.getUsableWritePolicy(policy)
return NewLargeSet(clnt, policy, key, binName, userModule)
Expand All @@ -529,6 +531,7 @@ func (clnt *Client) GetLargeSet(policy *WritePolicy, key *Key, binName string, u
//
// This method is only supported by Aerospike 3 servers.
// If the policy is nil, the default relevant policy will be used.
// NOTICE: DEPRECATED ON SERVER. Will be removed in future.
func (clnt *Client) GetLargeStack(policy *WritePolicy, key *Key, binName string, userModule string) *LargeStack {
policy = clnt.getUsableWritePolicy(policy)
return NewLargeStack(clnt, policy, key, binName, userModule)
Expand Down
8 changes: 8 additions & 0 deletions large_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.

/////////////////////////////////////////////////////////////
//
// NOTICE:
// THIS FEATURE HAS BEEN DEPRECATED ON SERVER.
// THE API WILL BE REMOVED FROM THE CLIENT IN THE FUTURE.
//
/////////////////////////////////////////////////////////////

package aerospike

// LargeMap encapsulates a map within a single bin.
Expand Down
8 changes: 8 additions & 0 deletions large_set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.

/////////////////////////////////////////////////////////////
//
// NOTICE:
// THIS FEATURE HAS BEEN DEPRECATED ON SERVER.
// THE API WILL BE REMOVED FROM THE CLIENT IN THE FUTURE.
//
/////////////////////////////////////////////////////////////

package aerospike_test

import (
Expand Down
8 changes: 8 additions & 0 deletions large_stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.

/////////////////////////////////////////////////////////////
//
// NOTICE:
// THIS FEATURE HAS BEEN DEPRECATED ON SERVER.
// THE API WILL BE REMOVED FROM THE CLIENT IN THE FUTURE.
//
/////////////////////////////////////////////////////////////

package aerospike

// LargeStack encapsulates a stack within a single bin.
Expand Down

0 comments on commit a99356f

Please sign in to comment.