Package org.alfresco.solr.client
Class Node
- java.lang.Object
-
- org.alfresco.solr.client.Node
-
public class Node extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Node.SolrApiNodeStatus
-
Constructor Summary
Constructors Constructor Description Node()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAclId()
Integer
getExplicitShardId()
long
getId()
String
getNodeRef()
String
getShardPropertyValue()
The property value to use for sharding - as requestedNode.SolrApiNodeStatus
getStatus()
String
getTenant()
long
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
setTenant(String tenant)
void
setTxnId(long txnId)
String
toString()
-
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getNodeRef
public String getNodeRef()
-
setNodeRef
public void setNodeRef(String nodeRef)
-
getTxnId
public long getTxnId()
-
setTxnId
public void setTxnId(long txnId)
-
getStatus
public Node.SolrApiNodeStatus getStatus()
-
setStatus
public void setStatus(Node.SolrApiNodeStatus status)
-
getTenant
public String getTenant()
- Returns:
- the tenant
-
setTenant
public void setTenant(String tenant)
- 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
public String 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
public void setShardPropertyValue(String shardPropertyValue)
-
getExplicitShardId
public Integer getExplicitShardId()
-
setExplicitShardId
public void setExplicitShardId(Integer explicitShardId)
-
-