Package org.springframework.data.solr.core.convert

Examples of org.springframework.data.solr.core.convert.MappingSolrConverter$SolrPropertyValueProvider


      throw new IllegalArgumentException("Collections are not supported for this operation");
    }
  }

  private final SolrConverter getDefaultSolrConverter() {
    MappingSolrConverter converter = new MappingSolrConverter(this.mappingContext);
    converter.afterPropertiesSet(); // have to call this one to initialize default converters
    return converter;
  }
View Full Code Here


  @SuppressWarnings("unchecked")
  @Before
  public void setUp() {

    mappingContext = new SimpleSolrMappingContext();
    solrConverter = new MappingSolrConverter(mappingContext);
    entityInformationCreator = new SolrEntityInformationCreatorImpl();
    Mockito.when(persitentEntityMock.getType()).thenReturn(ProductBean.class);
    Mockito.when(solrOperationsMock.execute(Matchers.any(SolrCallback.class))).thenReturn(
        new PageImpl<ProductBean>(Collections.<ProductBean> emptyList()));
    Mockito.when(solrOperationsMock.getConverter()).thenReturn(solrConverter);
View Full Code Here

TOP

Related Classes of org.springframework.data.solr.core.convert.MappingSolrConverter$SolrPropertyValueProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.