org.apache.accumulo.core.security
Class Authorizations
java.lang.Object
org.apache.accumulo.core.security.Authorizations
- All Implemented Interfaces:
- Serializable, Iterable<byte[]>
public class Authorizations
- extends Object
- implements Iterable<byte[]>, Serializable
- See Also:
- Serialized Form
Authorizations
public Authorizations(Collection<byte[]> authorizations)
Authorizations
public Authorizations(List<ByteBuffer> authorizations)
Authorizations
public Authorizations(byte[] authorizations)
Authorizations
public Authorizations()
Authorizations
public Authorizations(String... authorizations)
getAuthorizationsArray
public byte[] getAuthorizationsArray()
getAuthorizations
public List<byte[]> getAuthorizations()
getAuthorizationsBB
public List<ByteBuffer> getAuthorizationsBB()
toString
public String toString()
- Overrides:
toString
in class Object
contains
public boolean contains(byte[] auth)
contains
public boolean contains(ByteSequence auth)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
size
public int size()
isEmpty
public boolean isEmpty()
iterator
public Iterator<byte[]> iterator()
- Specified by:
iterator
in interface Iterable<byte[]>
serialize
public String serialize()
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.