These examples illustrate how to use the Apex Connector Framework to create custom adapters for Lightning Connect.
Google Drive™ Custom Adapter for Lightning Connect
This example illustrates how to use callouts and OAuth to connect to an external system, which in this case is the Google Drive™ online storage service.
Loopback Custom Adapter for Lightning Connect
This example illustrates how to handle filtering in queries. For simplicity, this example connects the Salesforce organization to itself as the external system.