Пример #1
0
        public override bool VisitPropertyKeyTokenCommand(PropertyKeyTokenCommand command)
        {
            NamedToken index = _propertyKeyTokenStore.getToken(( int )command.Key);

            _cacheAccess.addPropertyKeyToken(index);

            return(false);
        }
Пример #2
0
        public override bool VisitLabelTokenCommand(LabelTokenCommand command)
        {
            NamedToken labelId = _labelTokenStore.getToken(( int )command.Key);

            _cacheAccess.addLabelToken(labelId);

            return(false);
        }
Пример #3
0
        public override bool VisitRelationshipTypeTokenCommand(RelationshipTypeTokenCommand command)
        {
            NamedToken type = _relationshipTypeTokenStore.getToken(( int )command.Key);

            _cacheAccess.addRelationshipTypeToken(type);

            return(false);
        }
Пример #4
0
 public override void AddPropertyKeyToken(NamedToken propertyKey)
 {
     _tokenHolders.propertyKeyTokens().addToken(propertyKey);
 }
Пример #5
0
 public override void AddLabelToken(NamedToken label)
 {
     _tokenHolders.labelTokens().addToken(label);
 }
Пример #6
0
 public override void AddRelationshipTypeToken(NamedToken type)
 {
     _tokenHolders.relationshipTypeTokens().addToken(type);
 }