Package org.alfresco.solr.client
Class Node
java.lang.Object
org.alfresco.solr.client.Node
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
getAclId()
long
getId()
The property value to use for sharding - as requestedlong
getTxnId()
void
setAclId
(long aclId) void
setExplicitShardId
(Integer explicitShardId) void
setId
(long id) void
setNodeRef
(String nodeRef) void
setShardPropertyValue
(String shardPropertyValue) void
setStatus
(Node.SolrApiNodeStatus status) void
void
setTxnId
(long txnId) toString()
-
Constructor Details
-
Node
public Node()
-
-
Method Details
-
getId
public long getId() -
setId
public void setId(long id) -
getNodeRef
-
setNodeRef
-
getTxnId
public long getTxnId() -
setTxnId
public void setTxnId(long txnId) -
getStatus
-
setStatus
-
getTenant
- Returns:
- the tenant
-
setTenant
- Parameters:
tenant
- the tenant to set
-
getAclId
public long getAclId()- Returns:
- the aclId
-
setAclId
public void setAclId(long aclId) - Parameters:
aclId
- the aclId to set
-
getShardPropertyValue
The property value to use for sharding - as requested- Returns:
- null - if the node does not have the property, the standard "String" value of the property if it is present on the node. For dates and datetime properties this will be the ISO formatted datetime.
-
setShardPropertyValue
-
getExplicitShardId
-
setExplicitShardId
-
toString
-