public class BigdataSailFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BigdataSailFactory.Option
A handy list of common Options you might want to specify when creating
your bigdata instance.
|
Modifier and Type | Field and Description |
---|---|
static String |
BIGDATA_SAIL_INSTANCE
The default bigdata SAIL_PROVIDER.
|
static String |
SAIL_PROVIDER
The name of the property to set with the class that will provide the Sail.
|
Constructor and Description |
---|
BigdataSailFactory() |
Modifier and Type | Method and Description |
---|---|
protected static void |
checkArgs(String file,
List<BigdataSailFactory.Option> options) |
static BigdataSailRemoteRepository |
connect(String sparqlEndpointURL)
Connect to a remote bigdata instance.
|
static BigdataSailRemoteRepository |
connect(String host,
int port)
Connect to a remote bigdata instance.
|
static org.openrdf.repository.sail.SailRepository |
createRepository(BigdataSailFactory.Option... args)
Create a new bigdata instance using the specified options.
|
static org.openrdf.repository.sail.SailRepository |
createRepository(Properties props,
BigdataSailFactory.Option... args)
Create a new bigdata instance using the specified options.
|
static org.openrdf.repository.sail.SailRepository |
createRepository(Properties props,
String file,
BigdataSailFactory.Option... args)
Create a new bigdata instance using the specified options.
|
static org.openrdf.repository.sail.SailRepository |
createRepository(String file,
BigdataSailFactory.Option... args)
Create a new bigdata instance using the specified options.
|
static org.openrdf.sail.Sail |
createSail(BigdataSailFactory.Option... args)
Create a new bigdata instance using the specified options.
|
static org.openrdf.sail.Sail |
createSail(Properties props,
String file,
BigdataSailFactory.Option... args)
Create a new bigdata instance using the specified options.
|
static org.openrdf.sail.Sail |
createSail(String file,
BigdataSailFactory.Option... args)
Create a new bigdata instance using the specified options and filename.
|
protected static org.openrdf.sail.Sail |
getSailProviderInstance(Properties props) |
static org.openrdf.repository.sail.SailRepository |
openRepository(String file)
Open an existing persistent bigdata instance.
|
static org.openrdf.repository.sail.SailRepository |
openRepository(String file,
boolean create)
Open an existing persistent bigdata instance.
|
static org.openrdf.sail.Sail |
openSail(String file)
Open an existing persistent bigdata instance.
|
static org.openrdf.sail.Sail |
openSail(String file,
boolean create)
Open an existing persistent bigdata instance.
|
static String |
testServiceEndpointUrl(String serviceEndpoint)
Deprecated.
|
public static final String BIGDATA_SAIL_INSTANCE
public static final String SAIL_PROVIDER
public static BigdataSailRemoteRepository connect(String host, int port)
BigdataStatics.getContextPath()
.public static BigdataSailRemoteRepository connect(String sparqlEndpointURL)
sparqlEndpointURL
- The URL of the SPARQL end point.
FIXME This does not support the HA load balancer pattern. See #1148.
FIXME This does not parameterize the value of the ContextPath. See
BigdataStatics.getContextPath()
.
FIXME This MIGHT leak HttpClient or Executor resources.@Deprecated public static String testServiceEndpointUrl(String serviceEndpoint)
public static org.openrdf.repository.sail.SailRepository openRepository(String file)
public static org.openrdf.repository.sail.SailRepository openRepository(String file, boolean create)
public static org.openrdf.sail.Sail openSail(String file)
public static org.openrdf.sail.Sail openSail(String file, boolean create)
public static org.openrdf.repository.sail.SailRepository createRepository(BigdataSailFactory.Option... args)
public static org.openrdf.repository.sail.SailRepository createRepository(Properties props, BigdataSailFactory.Option... args)
public static org.openrdf.repository.sail.SailRepository createRepository(String file, BigdataSailFactory.Option... args)
public static org.openrdf.repository.sail.SailRepository createRepository(Properties props, String file, BigdataSailFactory.Option... args)
public static org.openrdf.sail.Sail createSail(BigdataSailFactory.Option... args)
public static org.openrdf.sail.Sail createSail(String file, BigdataSailFactory.Option... args)
public static org.openrdf.sail.Sail createSail(Properties props, String file, BigdataSailFactory.Option... args)
protected static org.openrdf.sail.Sail getSailProviderInstance(Properties props)
protected static void checkArgs(String file, List<BigdataSailFactory.Option> options)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.