Tabnine Logo
GeoSpatialIndexed.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.springframework.data.mongodb.core.index.GeoSpatialIndexed
constructor

Best Java code snippets using org.springframework.data.mongodb.core.index.GeoSpatialIndexed.<init> (Showing top 5 results out of 315)

origin: spring-projects/spring-data-examples

/**
 * @author Christoph Strobl
 */
@Data
public class Planet {

  final @Id String name;
  final @GeoSpatialIndexed Point coordinates;
}

origin: spring-projects/spring-data-examples

  /**
   * Value object to represent an {@link Address}.
   *
   * @author Oliver Gierke
   */
  @Value
  public static class Address {

    String street, city, zip;
    @GeoSpatialIndexed(type = GEO_2DSPHERE) Point location;

    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    public String toString() {
      return String.format("%s, %s %s", street, zip, city);
    }
  }
}
origin: odrotbohm/rest-microservices

  @Value
  public static class Address {

    String street, city, zip;
    @GeoSpatialIndexed(type = GeoSpatialIndexType.GEO_2DSPHERE) Point location;
  }
}
origin: spring-cloud-samples/customers-stores

/**
 * Value object to represent an {@link Address}.
 * 
 * @author Oliver Gierke
 */
@Value
public class Address {

  private final String street, city, zip;
  private final @GeoSpatialIndexed Point location;
}

origin: FunkyARUI/Real-time-Running-System

@JsonIgnore
private final
@GeoSpatialIndexed
Point location;
private String state;
org.springframework.data.mongodb.core.indexGeoSpatialIndexed<init>

Popular methods of GeoSpatialIndexed

  • additionalField
  • bits
  • bucketSize
  • max
  • min
  • name
  • type
  • useGeneratedName

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • getApplicationContext (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now